From owner-freebsd-ports@FreeBSD.ORG Fri Apr 2 08:24:01 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F38116A4CE for ; Fri, 2 Apr 2004 08:24:01 -0800 (PST) Received: from relay01.roc.ny.frontiernet.net (relay01.roc.ny.frontiernet.net [66.133.131.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE87F43D45 for ; Fri, 2 Apr 2004 08:24:00 -0800 (PST) (envelope-from drew@mykitchentable.net) Received: (qmail 7285 invoked from network); 2 Apr 2004 16:23:59 -0000 Received: from 67-51-124-168.dsl1.elk.ca.frontiernet.net (HELO blacklamb.mykitchentable.net) ([67.51.124.168]) (envelope-sender )SMTP for ; 2 Apr 2004 16:23:59 -0000 Received: from mykitchentable.net (lugalong.mykitchentable.net [192.168.1.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTP id E39C73BF398; Fri, 2 Apr 2004 08:23:58 -0800 (PST) Message-ID: <406D93A6.3090401@mykitchentable.net> Date: Fri, 02 Apr 2004 08:24:06 -0800 From: Drew Tomlinson User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Paul Reece References: <000001c4185d$bd91ca50$0402a8c0@penfold> In-Reply-To: <000001c4185d$bd91ca50$0402a8c0@penfold> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ports@freebsd.org Subject: Re: apache2 and php4.3.5 - segfault X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2004 16:24:01 -0000 On 4/1/2004 6:53 PM Paul Reece wrote: >Hi, > >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: >/usr/local/sbin/suexec) >[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 >operations >[Fri Apr 02 10:33:44 2004] [notice] SIGUSR1 received. Doing graceful >restart >[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. Cheers, Drew