[Xitami] Installing PHP

Gunnar Swan xitami@lists.xitami.org
Sun, 07 Jul 2002 14:28:34 -0700


Another thing that may cause something like this is if the NT account which Xitami uses does not have permissions to the folder where PHP ... and the scripts ... are installed.


7/7/02 2:01:59 PM, "Otto" <xitami@lanjouw.com> wrote:

>I have installed PHP. when i test it on localhost it's working fine.
>When i test it remote i get the following error message:
>
>***********
>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.
>***********
>
>In my php.ini file i have this:
>
>; 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
>
>; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
>; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
>; will look for to know it is OK to continue execution.  Setting this variable MAY
>; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
>; cgi.redirect_status_env = ;
>
>any ideas?
>
>
>
>
>--
>Xitami Users Mailing List -- For Xitami support
>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>