Re: apache13 signal 11 with php4 - with or without ssl

From: Edwin Culp <eculp_at_viviendaatualcance.com.mx>
Date: Tue, 30 Mar 2004 08:04:40 -0600
Quoting Jon Noack <noackjr_at_alumni.rice.edu>:

> On 3/30/2004 4:38 AM, Edwin Culp wrote:
>> Good morning,
>>
>> With yesterday's current with all updated, mergemaster,
>> portupgrade, openssl port removed and all dependent ports
>> rebuilt (confirmed with libchk and ldd), apache13
>> immediately crashes when accessing libphp4.so.  If I
>> comment out the libphp4.so and mod_php4.c in httpd.conf, I
>> can start apache and it seems more or less stable.  It will
>> not start (apachectl start) with php but strangely, if I
>> start it, I can uncomment the php4 lines in httpd.conf and
>> add a php4 site, run apachectl graceful and it doesn't
>> crash immediately.  If I try to add more php4
>> nameVirtualHosts it will crash even using graceful and to
>> start it I have to repeat the strange process just to use
>> my php4 email client.
>>
>> If anyone has seen this or has an idea, it would be
>> appreciated.  The only thing that I'm thinking is that
>> maybe I shouldn't have removed the openssl port but after
>> all the testing I am doubting it.
>
> Although I'm using apache2, I also had some crash issues with PHP 4.3.5.
>   Specifically, it segfaults on exit (graceful or otherwise).  Although
> the PHP folks have tagged it as Bogus, this bug describes exactly what I
> am seeing (the backtrace is identical):
> http://bugs.php.net/bug.php?id=27735
>
> This is quite annoying, because among other things it breaks logfile
> rotation -- the logfile gets rotated, but apache dies with these
> messages in httpd-error.log:
> [Tue Mar 30 06:44:48 2004] [notice] Graceful restart requested, doing
> restart
> [Tue Mar 30 06:44:48 2004] [notice] seg fault or similar nasty error
> detected in the parent process
>
> Reverting to the PCRE bundled with PHP 4.3.4 (PCRE version 4.3) resolved
> the problem for me (just replace the PHP 4.3.5 ext/pcre directory with
> the one from PHP 4.3.4).

Going to try that, right now. I'll let you and the list
know.

Thanks,

ed

>
> Jon Noack
Received on Tue Mar 30 2004 - 04:04:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:49 UTC