You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Zak Greant <ja...@nucleus.com> on 2001/06/02 22:18:05 UTC
general/7810: apache bails silently after a few requests for PHP files
>Number: 7810
>Category: general
>Synopsis: apache bails silently after a few requests for PHP files
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Sat Jun 02 13:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: jag@nucleus.com
>Release: 2.0.16
>Organization:
apache
>Environment:
SuSE 7.1 / Linux www 2.4.0-4GB #1 Wed Jan 24 15:55:09 GMT 2001 i686 unknown
Apache was built with:
% ./configure
--enable-so \
--prefix=/home/httpd/apache2 \
--with-mpm=perchild
PHP was built with:
% ./configure \
--with-apxs2=/home/httpd/apache2/ \
--with-mysql=/usr/local/mysql
/*
The build fails during make with a warning about the number of arguments
passed to ap_get_brigade.
I removed the 4th argument from the call to ap_get_brigade on line
248 of php-4.0.6RC2/sapi/apache2filter/sapi_apache2.c
Sascha Schumann says:
PHP 4.0.5 already reflects API changes in Apache. Removing
the argument on line 248 makes it work with older versions.
*/
% make
% make install
>Description:
Apache fails without an error message after serving a few requests for PHP files. I have error logging set to the debug level - no error message appears in error_log that relates to the server failing -- only to it restarting.
I can provide the PHP scripts if desired. They operate well on older versions of Apache, as well as Xitami and IIS.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]