> This may have changed recently, but a couple of months ago at the
> PHP website, it was pretty clearly stated that PHP and Apache2
> should not be used together on a production server. Is it considered
> stable?
> 
> -Eric
> 

This is a common question maybe the php website should eleborate on the
reasoning for not saying mod_php is not stablge on apach2. 

The reason as far as I know is because of thread safety. Apache 2 can be
compiled with different multi processing modules (MPM). The default with
gentoo is prefork which is default on gentoo. The other one worker and
perchild involve threads. Not all libraries that link with php are
thread safe therefore it would not be safe to use a thread based apache
build with calls to libraries in php that are not thread safe. Php
itself can be compiled thread safe ? Anyone with more knowledge like to
eleborate on this topic ?

--
[EMAIL PROTECTED] mailing list

Reply via email to