From owner-freebsd-apache@FreeBSD.ORG Thu Jan 14 00:41:57 2010 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 885BD106566B for ; Thu, 14 Jan 2010 00:41:57 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from exhub015-1.exch015.msoutlookonline.net (exhub015-1.exch015.msoutlookonline.net [207.5.72.93]) by mx1.freebsd.org (Postfix) with ESMTP id 72DBA8FC1E for ; Thu, 14 Jan 2010 00:41:57 +0000 (UTC) Received: from philip.hq.rws (174.79.184.239) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.2.176.0; Wed, 13 Jan 2010 16:41:55 -0800 Message-ID: <4B4E6852.9040506@p6m7g8.com> Date: Thu, 14 Jan 2010 00:41:54 +0000 From: "Philip M. Gollucci" Organization: P6M7G8 Inc. User-Agent: Thunderbird 2.0.0.23 (X11/20091208) MIME-Version: 1.0 To: James Chang References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: apache@freebsd.org Subject: Re: PHP 5.2.12 core dump under FreeBSD 8-STABLE with Apache 2.2 (apache-worker-2.2.14_5) worker-mpm mode X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2010 00:41:57 -0000 James Chang wrote: > Dears, > > I try to install php5 (5.2.12) and php5-extensions from FreeBSD port tree > with apache 2.2 (worker-mpm mode, apache-worker-2.2.14_5) few days ago. > But I encounter core dump when execute 'php -v' and 'php -m' $ php -v PHP 5.2.12 with Suhosin-Patch 0.9.7 (cli) (built: Jan 5 2010 22:28:25) $ httpd -v Server version: Apache/2.2.14 (FreeBSD) Server MPM: Prefork $ uname -a FreeBSD 8.0-RELEASE-p1 #0 r200351:201627: Wed Jan 6 01:55:49 UTC 2010 Live at http://www.ridecharge.com/blog and http://taximagic.com/blog There are some threading issues know with php and apache. 1) they need to match. 2) you might need some 'zts' options. BUT, it should error on startup, not core dump. ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.