From owner-freebsd-apache@FreeBSD.ORG Thu Jan 14 13:46:18 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 2B0081065672 for ; Thu, 14 Jan 2010 13:46:18 +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 F1C628FC15 for ; Thu, 14 Jan 2010 13:46:17 +0000 (UTC) Received: by pwi15 with SMTP id 15so3986524pwi.3 for ; Thu, 14 Jan 2010 05:46:08 -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=DhcnmJWBMSmJB66CWFShf9E41rZpg9E6ZMDw33HYHtM=; b=Wy4jVaem1hKn+ll7ovjqihtk03Wstnrgkz5ZMRj4HuZo7X1LIdJnA1yeWVgWkxPyD+ OzYoy0QDj9ECdHTSAmR1UA0wgqgiJPhgOjJ0l8BQ6jqUl7rVfrW/lO94FHRdjL2v6q0h dJa44WOG70n1/jOWLtVRzpcDclWn1d3yREcIs= 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=AavhaXa/lFcK8M8loCGShDS5PCEj8qyQ5xLBKdc8FzdRzxTcCSCLs+YiJgpk+BOSot ewgsZtVOv01bOkexxjojG/oWEKv2NuxmgEiGK874vRb0yYJUNMfQbRW+d3Fydb9ArHVd cWBcmKltWh551HtwvZEC+5BoPaU0H3gRuD6fo= MIME-Version: 1.0 Received: by 10.115.103.7 with SMTP id f7mr582193wam.1.1263476768309; Thu, 14 Jan 2010 05:46:08 -0800 (PST) In-Reply-To: <4B4EF72A.3060804@quip.cz> References: <4B4E6852.9040506@p6m7g8.com> <4B4EF72A.3060804@quip.cz> Date: Thu, 14 Jan 2010 21:46:07 +0800 Message-ID: From: James Chang To: Miroslav Lachman <000.fbsd@quip.cz> 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 13:46:18 -0000 Hi Miroslav, I ever try apache prefork mode,it still show me Segmentation fault (core dumped). And if I install apache 2.2 from port then use portupgrade to upgrade everything, all php module will build with thread safe flag, and installed in /usr/local/lib/php/20060613-zts. If I install apache from port with prefork mode, all php module will install in /usr/local/lib/php/20060613/ Best Regards! James Chang 2010/1/14 Miroslav Lachman <000.fbsd@quip.cz>: > James Chang wrote: >> >> Dear Sir, >> >> =A0 =A0Thanks for your info. >> Could you please tell me what are the issues about threading of PHP >> 5.2.12 and apache 2.2.X ? > > AFAIK PHP from ports is not thread safe and can't be used with MPM worker > (threaded apache). With prefork it is working fine. > Or am I wrong? > > Miroslav Lachman >