Thursday, May 04, 2006

PHP: No input file specified error

Sometimes people get this error when installing php as a CGI Binary, when setting up PHP5 IIS6.0 on Windows Server 2003.

Solution:
Edit php.ini, comment out doc_root, there is a problem with virtual servers.

Helpful Links:
http://www.visualwin.com/PHP/
http://www.peterguy.com/php/install_IIS6.html
http://wordpress.org/support/topic/4243

2 comments:

Anonymous said...

Hey man. You saved my life...

ok, not that dramatic, but me and a software architect (http://wleite.blogspot.com) working in the company were trying to solve several IIS/Windows Server and PHP 5.0 problems from 36 hours.

The last one was that "no input file".

Thank you, man

Evil Sandmich said...

Stupid PHP installed with the wrong path for the doc root resulting in the 'no input file' error.

I usually do a hand install but made the mistake of following an incomplete procedure for a related product that used the MSI install for reference.

You get the credit for the fix since Google found your page for me, gratz!