I'm getting this error:
<p>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.</p>
<p>For more information as to <i>why</i> this behaviour exists, see the <a href="http://php.net/security.cgi-bin">manual page for CGI security</a>.</p>
<p>For more information about changing this behaviour or re-enabling this webserver,
consult the installation file that came with this distribution, or visit
<a href="http://php.net/install.windows">the manual page</a>.</p>
I did set the cgi.force_redirect = 0 in the PHP.ini file. However, I do not know how to recompile PHP in windows. I've stopped the service, tried re-running. It just doesn't work.
Any help is appreciated,
Thanks.
recompiling PHP
Started by Lang, Jan 24 2007 01:14 PM
1 reply to this topic
#1
Posted 24 January 2007 - 01:14 PM
#2
Posted 24 January 2007 - 03:29 PM
First check and make sure you read their info correctly, just to make sure you understand it all.
And secondly, make sure you are changing the right php.ini file! I ran into this once before, I would make changes to the file and it wouldn't apply to my server on localhost. Turns out I was changing the php.ini that was located in my PHP folder with the core settings, whereas I somehow tracked down that the server was actually reading the php.ini file that was in the Windows directory.
And secondly, make sure you are changing the right php.ini file! I ran into this once before, I would make changes to the file and it wouldn't apply to my server on localhost. Turns out I was changing the php.ini that was located in my PHP folder with the core settings, whereas I somehow tracked down that the server was actually reading the php.ini file that was in the Windows directory.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
