yet another "No input file specified." topic(
I can't figure it out on my own, so someone give me a hand please)
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
#fastcgi_param SCRIPT_FILENAME $request_filename;
permissions are ok
root@test:~ # su -m www
www@test:~ % file /usr/local/www/nginx/php/phpinfo.php
/usr/local/www/nginx/php/phpinfo.php: PHP script, ASCII text
www@test:~ % exit
root@test:~ #
root@test:~ # curl localhost/php/phpinfo.php
No input file specified.
root@test:~ # curl localhost/php/phpinfo.php -I
HTTP/1.1 404 Not Found
Server: nginx/1.4.4
Date: Mon, 17 Feb 2014 05:01:24 GMT
Content-Type: text/html
Connection: keep-alive
X-Powered-By: PHP/5.4.25
root@test:~ #
I can't figure it out on my own, so someone give me a hand please)
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
#fastcgi_param SCRIPT_FILENAME $request_filename;
permissions are ok
root@test:~ # su -m www
www@test:~ % file /usr/local/www/nginx/php/phpinfo.php
/usr/local/www/nginx/php/phpinfo.php: PHP script, ASCII text
www@test:~ % exit
root@test:~ #
root@test:~ # curl localhost/php/phpinfo.php
No input file specified.
root@test:~ # curl localhost/php/phpinfo.php -I
HTTP/1.1 404 Not Found
Server: nginx/1.4.4
Date: Mon, 17 Feb 2014 05:01:24 GMT
Content-Type: text/html
Connection: keep-alive
X-Powered-By: PHP/5.4.25
root@test:~ #