Jump to content

PHP5 problem with XP


Recommended Posts

Greetings all. First time poster and absolute beginner with PHP (so please go easy on me!)

 

I am using an XP machine with IIS as my test server. After installing and configuring PHP5, I ran the phpinfo script to test my install. I keep getting the following 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>

********

Below is my current php.ini file setting regarding CGI redirects:

 

cgi.force_redirect = 0

 

I have tried setting it to 1, restarted IIS and get the same error message. c:\PHP is in my path and the ini file is in the c:\PHP directory, not c:\windows

 

Any suggestions would be much appreciated

Thanks,

~Robert

Link to comment
https://forums.phpfreaks.com/topic/49948-php5-problem-with-xp/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.