I got the problem when installing PHP5 with WPI and install it on IIS5 Windows XP, i can’t execute php file in my virtual directory, and got “No input file specified” when it try execute the file.
After i search it finally i got the solution for this problem, and it’s very simple, just edit this line in PHP.ini file :
1 2 3 4 5 6 | ; The root of the PHP pages, used only if nonempty. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root ; if you are running php as a CGI under any web server (other than IIS) ; see documentation for security issues. The alternate is to use the ; cgi.force_redirect configuration below doc_root = |
change it to :
1 2 3 4 5 6 | ;The root of the PHP pages, used only if nonempty. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root ; if you are running php as a CGI under any web server (other than IIS) ; see documentation for security issues. The alternate is to use the ; cgi.force_redirect configuration below ;doc_root = |
Goodluck for trying it.