RE: [PHP] problem installing php
| From: | John W. Holmes | Date: | Tue, 28 Jan 2003 10:46:57 +0000 |
| Subject: | RE: [PHP] problem installing php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133358@lists.php.net to get a copy of this message | ||
> Hi I am trying to install php with PHP 4.3.0 installer on windows98. I
> have
> the Xitami server. When I try to run a php-file in the webbpages
folder I
> get the following meaasge
>
> "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."
Uncomment the last line shown here from php.ini and set it to zero.
; cgi.force_redirect is necessary to provide security running PHP as a
CGI under
; most web servers. Left undefined, PHP turns this on by default. You
can
; turn it off here AT YOUR OWN RISK
; **You CAN safely turn this off for IIS, in fact, you MUST.**
; cgi.force_redirect = 1
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/