Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PWS and PHP

Status
Not open for further replies.

mgonzalez

Programmer
Aug 2, 2000
51
0
0
MX
Hello

I hope that something colud help me. I am a complete bigining and I have pws and php installed but I can´t do work them. I installed both, I tested whith this instruction
<? phpinfo(); ?> in a file prueba.php and only sent me the message

&quot;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.&quot;

Really I don't know what to do .I hope someone could help me

Thanks
 
Look in php.ini for a line that reads:

;cgi.force_redirect = 1

Remove the semicolon at the beginning of the line and set it to zero. ______________________________________________________________________
Never forget that we are
made of the stuff of stars
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top