REDIRECT_STATUS and setup
Posted: Fri Nov 04, 2005 9:30 pm
Hi friends,
I just reinstalled php on my IIS localhost and somehow when I attempt to run a simple script with the following code:
a "save file" dialog box pops up prompting me to save or open the file. If I open the file, it displays the following in a notepad file:
This seems like a simple problem with setup, maybe with php.ini.
Does anyone have any ideas?
Thanks in advance
Zaid
I just reinstalled php on my IIS localhost and somehow when I attempt to run a simple script with the following code:
Code: Select all
<?php
phpinfo();
?>Code: Select all
<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>Does anyone have any ideas?
Thanks in advance
Zaid