FreeBSD Port: php4-4.4.4 (how to install php4-4.4.4 with --enable-experimental-zts using ports?)

Albert Poon albert at bigtearice.net
Wed Sep 27 23:20:42 PDT 2006


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



More information about the freebsd-ports mailing list