Solution to the "No input file specified" error.

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  

Did it work for you?
Yes
50%
 50%  [ 4 ]
No
50%
 50%  [ 4 ]
Total Votes : 8

Author Message
digits
-


Joined: 12 May 2004
Posts: 3

PostPosted: Wed May 12, 2004 9:49 pm    Post subject: Solution to the "No input file specified" error. Reply with quote

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 :)
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group