PHP and IIS help on Win 2K
I'm trying to get my website working on my server computer but it's not happening. I know IIS is working but it's the PHP part that's not. This is the first time I've tried to set this up so I'm in the dark. I've followed different directions on different websites but still can't get it working properly. Anyone have any experience setting up PHP on a 2K computer want to help out? :o
This is the message I'm getting when I try to access my page. I've made sure that force_redirect = 0.

(I posted here because A) This is the only forum I'm registered with and 2) I've seen how technical alot of you guys are.)
Thanks
<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>
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 posted here because A) This is the only forum I'm registered with and 2) I've seen how technical alot of you guys are.)
Thanks
This compile-time option prevents anyone from calling PHP directly with a URL like http://my.host/cgi-bin/php/secretdir/script.php. Instead, PHP will only parse in this mode if it has gone through a web server redirect rule.
Usually the redirection in the Apache configuration is done with the following directives:
Action php-script /cgi-bin/php
AddHandler php-script .php
This option has only been tested with the Apache web server, and relies on Apache to set the non-standard CGI environment variable REDIRECT_STATUS on redirected requests. If your web server does not support any way of telling if the request is direct or redirected, you cannot use this option and you must use one of the other ways of running the CGI version documented here
Usually the redirection in the Apache configuration is done with the following directives:
Action php-script /cgi-bin/php
AddHandler php-script .php
This option has only been tested with the Apache web server, and relies on Apache to set the non-standard CGI environment variable REDIRECT_STATUS on redirected requests. If your web server does not support any way of telling if the request is direct or redirected, you cannot use this option and you must use one of the other ways of running the CGI version documented here
I had seen that webpage too. I was hoping I wasn't going to have to use Apache since I never used it before but obviously I don't know what I'm doing so it wouldn't hurt to try.
Honestly, I didn't write the script. I'm building a website with my friend and he wrote it, I barely know html. The problem is he can write the webpages but can't remember how to set it up.
Just an update for you Vader since you're the only one that bothered to respond.
I formatted my computer and started from scratch. It was as easy as all the instructions said it would be when I started clean.
I formatted my computer and started from scratch. It was as easy as all the instructions said it would be when I started clean.


