Date: Thu, 14 Jan 2010 21:46:07 +0800 From: James Chang <james.technew@gmail.com> To: Miroslav Lachman <000.fbsd@quip.cz> 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 Message-ID: <a951c2911001140546ga0de81cjdf4deac2dd104a7e@mail.gmail.com> In-Reply-To: <4B4EF72A.3060804@quip.cz> References: <a951c2910912302229r43fc4859i66d3319b9018a41c@mail.gmail.com> <a951c2911001130610i999b2cbh8b2db22c755498a7@mail.gmail.com> <4B4E6852.9040506@p6m7g8.com> <a951c2911001132130p6ff8a4c6g3719df3d0041d35b@mail.gmail.com> <4B4EF72A.3060804@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a951c2911001140546ga0de81cjdf4deac2dd104a7e>