RE: How to set up php under win2000?

i just installed fresh php42, added virtual directory with the test php file
into iis and when i try to browse it to see result, it gives me:

=======================
Security Alert! The PHP CGI cannot be accessed directly.
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.

For more information as to why this behaviour exists, see the manual page
for CGI security.

For more information about changing this behaviour or re-enabling this
webserver, consult the installation file that came with this distribution,
or visit the manual page.
========================

i tried to change directives in php.ini file, stop and start sevices (iis
and www) after that, it did not help...


directives i tried to modify

1 attempt
cgi.force_redirect = 0

2.
cgi.force_redirect = 0
cgi.redirect_status = 0

3.
cgi.force_redirect = 0
cgi.redirect_status = 0
cgi.redirect_status_env = ENV_VAR_NAME

i am running win2000 wks

thanks

Alex

Received on Thursday, 12 September 2002 04:48:22 UTC