apache2 and php4.3.5 - segfault
drew at mykitchentable.net
Fri Apr 2 08:24:01 PST 2004
On 4/1/2004 6:53 PM Paul Reece wrote:
>I'm having a few problems with Apache2.0.49 and PHP 4.3.5 - I've done a
>fresh install of both under FreeBSD 4.9-STABLE, but whenever I have PHP
>loaded, any signal sent to Apache2 (eg for a restart) results in the main
>Apache2 process segfaulting.. eg:
>[Fri Apr 02 10:33:27 2004] [notice] suEXEC mechanism enabled (wrapper:
>[Fri Apr 02 10:33:29 2004] [notice] Apache/2.0.49 (Unix) PHP/4.3.5
>mod_jk/1.2.5 mod_ssl/2.0.49 OpenSSL/0.9.7c configured -- resuming normal
>[Fri Apr 02 10:33:44 2004] [notice] SIGUSR1 received. Doing graceful
>[Fri Apr 02 10:33:44 2004] [notice] seg fault or similar nasty error
>detected in the parent process
>If I simply remove PHP from the Apache configuration (ie, dont load the
>module), the above no longer occurs.
>I've tried with both the prefork and worker MPM's without any change in
>behavior - I've also reproduced this on a second machine, also running
>FreeBSD 4.9-STABLE (no mod_jk on that machine).
>Anyone else seeing the above or know a solution?
Search the archives as this was discussed a few days ago. I don't use
this combo but as I recall, the basic advice was to update your ports
and reinstall PHP. YMMV.
More information about the freebsd-ports