|
Posted by teddybear on 06/26/06 15:17
Hi,
I run IIS. Can I just email you instead?
Thanks for responding to help.
--Ted
Jerry Stuckle wrote:
> william.clarke wrote:
> > 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.
> >
>
> The DEFAULT home directory for Apache is htdocs. This can be changed in to any
> directory on the system in the httpd.conf file.
>
> Same with IIS - the DEFAULT is inetpub\wwwroot. But can be easily changed.
>
> But in either case PHP can be in its own directory. It does not have to be in
> the website path. And the same with php.ini.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstucklex@attglobal.net
> ==================
[Back to original message]
|