For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > March 2004 > Re: [PHP-INSTALL] PHP-4.3.4 with Xitami v2.5b6









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] PHP-4.3.4 with Xitami v2.5b6
Zareef Ahmed

2004-03-26, 11:23 pm

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@yahoo.com> 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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com