> Hi I am trying to install php with PHP 4.3.0 installer on windows98. I > have > the Xitami server. When I try to run a php-file in the webbpages folder I > get the following meaasge > > "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."
Uncomment the last line shown here from php.ini and set it to zero. ; 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 ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php