From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 14:29:14 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23DD116A46B for ; Wed, 12 Sep 2007 14:29:14 +0000 (UTC) (envelope-from tom@shockergroup.com) Received: from mail.shockergroup.com (rrcs-71-41-34-114.se.biz.rr.com [71.41.34.114]) by mx1.freebsd.org (Postfix) with ESMTP id BEE4E13C46C for ; Wed, 12 Sep 2007 14:29:13 +0000 (UTC) (envelope-from tom@shockergroup.com) Received: (qmail 94058 invoked by uid 89); 12 Sep 2007 14:01:50 -0000 Received: by simscan 1.2.0 ppid: 94051, pid: 94055, t: 0.0527s scanners: attach: 1.2.0 clamav: 0.91.1/m:44 Received: from unknown (HELO ?192.168.2.49?) (tom@shockergroup.com@72.77.231.220) by mail.shockergroup.com with ESMTPA; 12 Sep 2007 14:01:50 -0000 In-Reply-To: <94136a2c0709120023r3d6d6ea4s41356861e9f6563e@mail.gmail.com> References: <20070911234241.B2CAF16A4AC@hub.freebsd.org> <94136a2c0709120023r3d6d6ea4s41356861e9f6563e@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Tom Ierna Date: Wed, 12 Sep 2007 10:02:34 -0400 To: Zbigniew Szalbot X-Mailer: Apple Mail (2.752.3) Cc: freebsd-questions@freebsd.org Subject: Re: php5-5.2.3_1 / website behaves as if not enabled in httpd.conf 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: Wed, 12 Sep 2007 14:29:14 -0000 On Sep 12, 2007, at 3:23 AM, Zbigniew Szalbot wrote: > Everything is fine here. But I think now that the problem is not with > apache but with php. It does not even matter if I do start or > startssl. In both instances the httpd server dies. The reason I think > it is php-related is that when I issue php -v I get: > > PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 12 2007 > 08:59:52) > Copyright (c) 1997-2007 The PHP Group > Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies > Segmentation fault (core dumped) > > pkg_info | grep php5 > php5-5.2.3_1 PHP Scripting Language (Apache Module and CLI) > > I do not really feel like upgrading apache (as suggested by someone > else - thank you by the way) because it is just a home machine on > which I do not need all the greatest and latest. > > If there's nothing obvious that comes to your mind I will try posting > it on a php list. Can you make a copy of /usr/local/etc/php/extensions.ini and put an empty extensions.ini in it's place? This will turn off all of the PHP extensions. The last time I experienced core dumps in Apache after an upgrade of my PHP install was when some of my PHP Extensions didn't get rebuilt. If Apache starts with PHP working (but without extensions) then you can narrow down which extensions didn't get rebuilt when you upgraded to /usr/ports/lang/php5-extensions. Best, -Tom