Oddly, the CGI Error message is intermitted.  It come on some of the time
and some of the other time doesn't.  What is the problem here.....?

"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi!
>
>     To make the long story short, we use IIS 5.0 with PHP 4.0.6 for a
while.
> Then we builted a new database server, SQL-2000 and point the website to
the
> new server.  Then we notice the problem with the CGI error.  So, we last
> week downloaded the PHP 4.3.3 and update the IIS with the newer PHP
version
> and set the cgi.force_redirect to zero in php.ini.  See example below
> --snip--
> ; 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 = 0
> --snip--
>
> We still have problem with CGI error.  The use of php function, header()
is
> what cause the error.  Yes, the IIS and the website are reading the
php.ini
> correctly.  I checked that out and it is verified.
>
> So, what is the workaround to the CGI error??
>
> Thanks,
>  Scott
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to