[imp] PHP error

carlos carlos@zonacharrua.com
Wed, 4 Sep 2002 11:27:33 -0700


This is a multi-part message in MIME format.

---------------------- multipart/alternative attachment
When I try to use a PHP page it displays this error:

Security Alert! The PHP CGI cannot be accessed directly.=20
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.





Obviusly I have to set "something" in my PHP.ini, where it says:



cgi.redirect_status_env =3D

Does anyone care to send me a tip?

Thanks:



Carlos






---------------------- multipart/alternative attachment
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>When I try to use a PHP page it =
displays this=20
error:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><FONT size=3D3><FONT=20
face=3D"Times New Roman"><STRONG>Security Alert!</STRONG> The PHP CGI =
cannot be=20
accessed directly. </FONT></FONT>
<P>This PHP CGI binary was compiled with force-cgi-redirect enabled. =
This means=20
that a page will only be served up if the REDIRECT_STATUS CGI variable =
is set,=20
e.g. via an Apache Action directive.</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>Obviusly I have to set "something" in my PHP.ini, where it says:</P>
<P>&nbsp;</P>
<P>cgi.redirect_status_env =3D</P>
<P>Does anyone care to send me a tip?</P>
<P>Thanks:</P>
<P>&nbsp;</P>
<P>Carlos</P>
<P>&nbsp;</P></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

---------------------- multipart/alternative attachment--