digits -
Joined: 12 May 2004 Posts: 3
|
Posted: Wed May 12, 2004 9:49 pm Post subject: Solution to the "No input file specified" error. |
|
|
It's in your php.ini file, so open it and alter this:
You must specify the path to your site
Code: | ; 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 = c:\path\to\your\site |
and set cgi.force_redirect to one (1)
Code: | ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
; most web servers. Left undefined, PHP turns this on by default. You can
; turn it off here AT YOUR OWN RISK
; **You CAN safely turn this off for IIS, in fact, you MUST.**
cgi.force_redirect = 1 |
If you've done as the manual sais on how to enable PHP it should work now, does so for me...
Hope this help anybody :) |
|