added php test files
This commit is contained in:
parent
ea3997cec8
commit
9b763dc392
3
usr/share/nginx/html/phptest/index.php
Normal file
3
usr/share/nginx/html/phptest/index.php
Normal file
@ -0,0 +1,3 @@
|
||||
<?php
|
||||
phpinfo();
|
||||
?>
|
12
usr/share/nginx/html/phptest/vars.php
Normal file
12
usr/share/nginx/html/phptest/vars.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
/* exports server vars
|
||||
recommended tests:
|
||||
/vars.php
|
||||
/vars.php/
|
||||
/vars.php/foo
|
||||
/vars.php/foo/bar.php
|
||||
/vars.php/foo/bar/php?v=1
|
||||
see https://www.nginx.com/resources/wiki/start/topics/examples/phpfcgi/
|
||||
*/
|
||||
var_export($_SERVER)
|
||||
?>
|
Loading…
Reference in New Issue
Block a user