Re: PHP-4.3.4 with Xitami v2.5b6
| From: | zareef ahmed | Date: | Fri, 26 Mar 2004 04:29:07 +0000 |
| Subject: | Re: PHP-4.3.4 with Xitami v2.5b6 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-13066@lists.php.net to get a copy of this message | ||
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