Welcome! Log In Create A New Profile

Advanced

No input file specified.

Posted by alexus 
No input file specified.
February 17, 2014 12:02AM
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:~ #

http://alexus.org/
Re: No input file specified.
February 18, 2014 04:47PM
I was able to resolve by removing multiple "root"s from all blocks other than server.

http://alexus.org/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 230
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready