[Mageia-dev] PHP treadsafe

Frederik Himpe fhimpe at telenet.be
Tue Jan 8 11:04:45 CET 2013


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.

-- 
Frederik Himpe



More information about the Mageia-dev mailing list