W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 2002

RE: How to set up php under win2000?

From: Soho <shelter@attbi.com>
Date: Wed, 11 Sep 2002 22:33:25 -0400 (EDT)
To: <www-jigsaw@w3.org>

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

cgi.force_redirect = 0
cgi.redirect_status = 0

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

i am running win2000 wks


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:38 UTC