From owner-freebsd-apache@FreeBSD.ORG Thu Jan 14 05:30:28 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 E21B1106566B for ; Thu, 14 Jan 2010 05:30:28 +0000 (UTC) (envelope-from james.technew@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id B5DF18FC17 for ; Thu, 14 Jan 2010 05:30:28 +0000 (UTC) Received: by pwi15 with SMTP id 15so3746378pwi.3 for ; Wed, 13 Jan 2010 21:30:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=okbAhiDiwiiseYL82ku7Q5614c4OGcZf+wq9Ew9MaYs=; b=PfZBCtYctyvJqdG/UrSNT9Jk/T+LJ9KHcrGj30gRBt2rvXAny4u3AGbJJY3Fn2CMAG DS/BQx7zIMkbE/gAFwmHj3zbw0u+3uMh6P3Xgyecj3AiLRRr2JdMZZZEBDMy45mCH7uj bPCs0I2OYJAo4A+2tjCbUoAzWsZ2aMt43VVZY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=WYfEbjJRxwzHR9yAGZ+1tUuew5VcmRSdFwSfp/u3mFcX1CpRKo3dHrbuO/1cPfLIDs 6KIVYhqa3Q6UDIqkWcPDEfnr7cvX2JT8IJobJY0EXpppP+ll7ga+fHV0MkB+jJhdgLDT vv7S/8Qw0woq9EI/BThjt6CU0IiZbWeAgF+IA= MIME-Version: 1.0 Received: by 10.114.6.28 with SMTP id 28mr223803waf.115.1263447023836; Wed, 13 Jan 2010 21:30:23 -0800 (PST) In-Reply-To: <4B4E6852.9040506@p6m7g8.com> References: <4B4E6852.9040506@p6m7g8.com> Date: Thu, 14 Jan 2010 13:30:23 +0800 Message-ID: From: James Chang To: "Philip M. Gollucci" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 05:30:29 -0000 Dear Sir, Thanks for your info. Could you please tell me what are the issues about threading of PHP 5.2.12 and apache 2.2.X ? Best Regards! James Chang 2010/1/14 Philip M. Gollucci : > James Chang wrote: >> >> Dears, >> >> =A0 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 =A05 2010 22:28:25) > > $ httpd -v > Server version: Apache/2.2.14 (FreeBSD) > Server MPM: =A0 =A0 Prefork > > $ uname -a > FreeBSD 8.0-RELEASE-p1 #0 r200351:201627: Wed Jan =A06 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 =A03F8C 75B8 8FFB DB9B 8C1C > Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 > VP Apache Infrastructure; Member, Apache Software Foundation > Committer, =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0FreeBSD Foundat= ion > Consultant, =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 P6M7G8 Inc. > Sr. System Admin, =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Ridecharge Inc. > > Work like you don't need the money, > love like you'll never get hurt, > and dance like nobody's watching. >