Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2004 08:04:40 -0600
From:      Edwin Culp <eculp@viviendaatualcance.com.mx>
To:        noackjr@alumni.rice.edu
Cc:        current@freebsd.org
Subject:   Re: apache13 signal 11 with php4 - with or without ssl
Message-ID:  <20040330080440.wp0k8084ko0cwgsg@mail.viviendaatualcance.com.mx>
In-Reply-To: <40697C93.2070701@alumni.rice.edu>
References:  <20040330043830.scwgckcs8kcc0cws@mail.viviendaatualcance.com.mx> <40697C93.2070701@alumni.rice.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Jon Noack <noackjr@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040330080440.wp0k8084ko0cwgsg>