Report this

What is the reason for this report?

'no input file specified' on LEMP setup

Posted on February 19, 2013

I followed the DO article “How to Install Linux, nginx, MySQL, PHP (LEMP) stack on CentOS 6” and could see the nginx default page displayed. After I worked through the changes to configs, etc. and tried to display info.php (phpinfo), I get the message ‘no input file specified’. I get that same thing on another php file that I loaded to the site in the same directory. However, I can display an html file from that directory.

Any thoughts as to how to track this down?

Thanks.



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!

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 was able to track this down in the config file. Thanks.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.