Question

No input file specified

I dont know why i still get the “No input file selected” Can someone help me?

This is my nginx http://pastebin.com/2HvkwnHi

Why nginx cannot run the simple php page? I am running on Ubuntu 13.04

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I did…but didnt solve the problem. Finally i just uninstall everything and reinstall the stacks. Problem solved

Did you comment the following line out? <br> <br> # fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; <br> <br>Remove the ‘#’ and restart nginx.

i am doing this on localsite at the moment, the contents of /usr/share/nginx/html are <br>-50x.html <br>-ecard (folder with wordpress files) <br>-index.html (default nginx landing page, even this is not loading) <br>-info.php (simple php info file, even this is not processed by nginx) <br>-myapp (folder with custom php files) <br>-vendor (folder with custom php files) <br> <br>The contents of /etc/nginx/sites-enabled is <br>-ecard (wordpress site)