[Mageia-dev] PHP treadsafe

Thomas Spuhler thomas at btspuhler.com
Thu Jan 10 04:54:11 CET 2013


On Tuesday, January 08, 2013 03:04:45 AM Frederik Himpe wrote:
> On Sat, 05 Jan 2013 10:20:35 -0700, Thomas Spuhler wrote:
> > If nobody objects I am going to rebuild php treadsafe
> > (--enable-maintainer-zts)
> > it is needed for running apache with mpm-module-worker instead of
> > prefork and php apache module worker is needed by 389-ds. It is now
> > declared as stable.
> > 
> > But apache mpm-prefork starts with php compiled treadsafe apache
> > mpm-worker doesn't start with php compiled none-treadsafe
> 
> You can run PHP with apache2-mpm-worker with mod_fcgid and php5-cgi or
> php5-fpm.
> 
> This is what Debian Wheezy's README file for php says:
> 
> Using PHP 5 with threaded webservers (e.g. apache2-mpm-worker)
> ----------------------------------------------------------------------
> 
>   After much back-and-forth with upstream (and even building our
>   packages thread-safe for a while), we're currently admitting defeat
>   on that front, and are NOT building any thread-safe versions of PHP
>   5 for any webservers. Our recommendation is that, if you need to use
>   a threaded webserver, you should use php5-fpm and interface to your
>   webserver with FastCGI.
> 
> 
> 
> I think Mageia is hurting itself by enabling too experimental features.
> Another example is the uas kernel module, of which I saw a complaint
> recently in this mailing list. This module is known to be buggy, and
> disabled in Debian.

Would you mind to provide some help on how the run apache-mpm-worker with php NTS?


-- 
Best regards
Thomas Spuhler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/mageia-dev/attachments/20130109/2f72f569/attachment.asc>


More information about the Mageia-dev mailing list