| 
	
 | 
 Posted by william.clarke on 06/25/06 22:07 
teddybear wrote: 
> My friend, where are you going? Anybody out there, please help??? 
> I am stuck... 
> 
> teddybear wrote: 
> > I have another problem now. My browser said "Page Coult Not Be Found". 
> > However I have set  cgi.force_redirect = 0 in the PHP.ini inside /PHP 
> > directory, 
> > And I have put Hello.PHP both in the /wwwroot directory and /PHP 
> > directory. 
> > Can you please suggest me what is the problem this time? 
> > 
> > Thank you for help! 
> > 
> > --Ted 
> > 
> > teddybear wrote: 
> > > I have replied you on the scripts.com forum. Thanks, and I am looking 
> > > forward to your reply! 
> > > 
> > > WhatsPHP wrote: 
> > > > This PHP CGI binary was compiled with force-cgi-redirect enabled. This 
> > > > means that a page will only be served up if the REDIRECT_STATUS CGI 
> > > > variable is set, e.g. via an Apache Action directive. 
> > > > 
> > > > First thing you need to do is change the line in php.ini so it is 
> > > > cgi.force_redirect = Off 
> > > > 
> > > > Then - and this is where I tore my hair out for a while - if you have 
> > > > your php.ini in the /windows directory, ensure there there isn't also a 
> > > > default php.ini in the PHP directory as it seems to read that one 
> > > > first. 
> > > > 
> > > > Or, why not just have it in the PHP directory and save a lot of 
> > > > heartache :o) 
 
Are you running Apache or IIS? 
 
Apache's home directory is htdocs (usually in the apache/apache2 
directory) 
IIS uses the inetpub directory as stated by others previously.
 
  
Navigation:
[Reply to this message] 
 |