Justtechjobs.com Find a programming school near you






Online Campus Both


php-install | 2004032

Re: [PHP-INSTALL] PHP-4.3.4 with Xitami v2.5b6 From: zareef ahmed (zareefsaifi <email protected>)
Date: 03/25/04

HI !

Look for php.ini in your windows directory.

and set
cgi.redirect_status_env="foo";

It should solve your problem.

zareef ahmed saifi

--- james sirleaf <jamessirleaf <email protected>> wrote:
> Hello,
>
> I hope you can help. I have installed Xitami on
> Windows 98 but can not get PHP to work with it.
>
> Error Message:
>
> Security Alert! The PHP CGI cannot be assessed
> directly.
> The PHP CGI binary was compiled with
> force-CGI-redirect enabled.
> This means that a page will only be served if the
> Redirect-Status CGI variable is set, e.g. via Apachi
> Action Directive.
>
> I have established the following:
>
> 1. doc_root=c:\xitami-25\app\webpages
>
> 2. cgi.force_redirect=0
>
> 3. cgi.rfc2616_headers=1
>

> defaults.cfg has established .php=c:\php\php.exe
> and I am able
> to see this configuration through Xitami admin.
>
> If the problem is with the CGI.Redirect_Status_Env
> variable in PHP,
> How do I set this variable in PHP to work with the
> Xitami Webserver?
>
> Regards,
> James
>
>
> ---------------------------------
> Yahoo! Messenger - Communicate instantly..."Ping"
> your friends today! Download Messenger Now

=====
zareef ahmed saifi
Be Happy... Make Happy... and Feel Happy
http://www.zasaifi.com

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html