Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2006 14:20:41 +0800
From:      "Albert Poon" <albert@bigtearice.net>
To:        Alex Dupre <ale@FreeBSD.org>
Cc:        "ports@FreeBSD.org" <ports@FreeBSD.org>
Subject:   Re: FreeBSD Port: php4-4.4.4 (how to install php4-4.4.4 with --enable-experimental-zts using ports?)
Message-ID:  <20060928060848.M97487@bigtearice.net>
In-Reply-To: <451B6550.9060903@FreeBSD.org>
References:  <20060927211423.M82508@bigtearice.net> <451B6550.9060903@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Sep 2006 08:01:52 +0200, Alex Dupre wrote
> Albert Poon ha scritto:
> > How to install php4-4.4.4 with --enable-experimental-zts using ports?
> 
> Why you should?

Because I encountered problem (stalled childs) currently and some suggested --
enable-experimental-zts when using Apache worker MPM. I modified the Makefile 
and rebuild the PHP and extensions, and it seems fine, no more stalled child.

> 
> > Also, as I am using Apache 2.2.3 with worker MPM, should I set enable_dl 
= 
> > Off in php.ini?
> 
> Why?

Well the description in php.ini said the dl() function does NOT work
properly in multithreaded servers, that's why I wonder.

> The php ports auto-detect threaded apache and build accordingly.
> Said so, php developers discourage the use of a threaded php.

Well, I won't care how it works if everything run smooth. Too bad the box 
does not have huge amount of RAM, worker MPM is preferred atm, and I have to 
fix the problem.

> 
> --
> Alex Dupre

Albert Poon




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