From owner-freebsd-questions@FreeBSD.ORG Tue Sep 4 06:15:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C7F8A1065670 for ; Tue, 4 Sep 2012 06:15:28 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 5BBC18FC0C for ; Tue, 4 Sep 2012 06:15:27 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Tue, 4 Sep 2012 08:15:25 +0200 Message-ID: <50459C5D.4010004@ose.nl> Date: Tue, 04 Sep 2012 08:14:53 +0200 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <5044C2FC.5050703@ifdnrg.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Error after upgrading to php 5.4.6 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2012 06:15:28 -0000 On 09/04/2012 04:18 AM, Michael Powell wrote: > Paul Macdonald wrote: > >> On 03/09/2012 12:26, Darrell Betts wrote: >>> My php pages will no longer render in a web browser after upgrading to >>> php 5.4.6. Used port upgrade to do this. Running apache 2.2.22_6. Checked >>> the error log and this is what I receive >>> >>> [notice] child pid 38232 exit signal Segmentation fault (11) >>> >>> This does this on all php pages. >>> Any idea how to fix this error? > [snip] >> try editing your /usr/local/etc/php/extensions.ini, comment out all >> extensions (restart apache) and see if it stops seg faulting. >> If it works, add in the modules one by one until it stops. >> >> Previously i've seen people posting about the order being important >> > Some while back I thought portupgrading PHP caused the extensions.ini to be > edited after each and every extension rebuild/reinstall, causing a shuffle > like effect. Since I do a backup before, including all configs, I got into > the habit of just copying my old extensions.ini back into place afterwards > prior to restarting PHP and/or web servers. > > -Mike > Well with pkg_delete -f php5\* , removing all of php's config files in /usr/local/etc (keeping a backup of course) and then installing php-5.4.6 extensions resolved the problem. It does not happen too often that this goes wrong, but somehow php can be troublesome at times. Thanks Bas Disclaimer: http://www.ose.nl/email