Re: PHP 4.2.1 Problem
| From: | Gabor Hojtsy | Date: | Fri, 24 May 2002 16:35:05 +0000 |
| Subject: | Re: PHP 4.2.1 Problem | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-10443@lists.php.net to get a copy of this message | ||
> When ever I try to look at any php file on my PWS, I get the following
> error:
>
> ---
> 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've tried uninstalling and reinstalling PHP many times yet it still
> won't work. I had PHP 4.1.1 earlier and it worked fine. Any suggestions
> on what I should do?
Have you ever read the secutity section in the manual, as
suggested by the error message?
Goba [one webmaster@php.net]