[Xitami] PHP With Xitami

Patricko xitami@lists.xitami.org
Thu, 16 May 2002 15:08:28 -0600


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?