Re: [PHP-DEV] 4.0.1 Release Candidate packaged From: Olivier Cahagne (olivier.cahagne <email protected>)
Date: 06/25/00

Hello,

[...]

- Fixed problem with CGI crashing on certain servers especially Windows
Apache
           & O`Reilly website (Andi)

[...]

This is not fixed for me on Linux and NetBSD and for other people on
Solaris when running Apache and PHP4 (latest CVS) as cgi with
discard_path enabled.

Can we talk about it as Andi requested it in his latest patch ?

>From
http://cvs.php.net/viewcvs.cgi/php4/sapi/cgi/cgi_main.c

- Try and fix crash with CGI.
- Please check out the comment I wrote in init_request_info(). There was
a
- lot of code there which was running for no apparent reason. Should it
be
- removed or should it actually run?

My bug report: #4456 and #5163

Other bug report with suggestion on how to fix it: #5181

I tried modifying the code without success, PHP3 still runs fins with
the same setup. I'd really like to help (I've been trying PHP4 since
Beta1). Compiled as a module, PHP4 runs flawlessly but I really need to
make it work through suEXEC so discard_path is needed.

--
Olivier.Cahagne <email protected>

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>