Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.