[Xitami] PHP With Xitami

Fa Gee xitami@lists.xitami.org
Thu, 16 May 2002 18:33:28 -0400


I still get the same error, what were u talking about before with php.ini in
the c:\winnt ?
----- Original Message -----
From: "Patricko" <polson1@adelphia.net>
To: <xitami@lists.xitami.org>
Sent: Thursday, May 16, 2002 5:08 PM
Subject: Re: [Xitami] PHP With Xitami


> Ok how are you calling it
> the .php files should be in you /webpages directory
> does this work
> copy and paste the code below save it in you webpages direstory
> and call it test.php
> http://127.0.0.1/test.php
> __CUT__
> <?php
> echo "<center><h1>PHP INFO</h1></center>";
> phpinfo();
> ?>
> __END__
>
> ----- Original Message -----
> From: Fa Gee
> To: xitami@lists.xitami.org
> Sent: Thursday, May 16, 2002 1:41 PM
> Subject: [Xitami] PHP With Xitami
>
>
> Hey, i'm trying to get php running on my server, but i get this 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 changed cgi.force_redirect = from 1 to 0 and still get it.... Any ideas,
i
> had just remove the ";" in front of it, maybe it was a comment.
> Anyone know what's wrong?
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>