Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2010 00:41:54 +0000
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        James Chang <james.technew@gmail.com>
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:  <4B4E6852.9040506@p6m7g8.com>
In-Reply-To: <a951c2911001130610i999b2cbh8b2db22c755498a7@mail.gmail.com>
References:  <a951c2910912302229r43fc4859i66d3319b9018a41c@mail.gmail.com> <a951c2911001130610i999b2cbh8b2db22c755498a7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B4E6852.9040506>