Bug #70865 [Opn->Nab]: ./configure showing "You have built PHP for Apache's current non-threaded MPM."
Edit report at https://bugs.php.net/bug.php?id=70865&edit=1
ID: 70865
Updated by: ab@php.net
Reported by: jfha73 at gmail dot com
Summary: ./configure showing "You have built PHP for Apache's
current non-threaded MPM."
-Status: Open
+Status: Not a bug
Type: Bug
Package: Apache2 related
Operating System: Linux
PHP Version: 7.0.0RC6
Block user comment: N
Private report: N
New Comment:
It appears that you're using a non thread safe Apache MPM, most likely --with-mpm=prefork. If
you want PHP to produce a thread safe Apache PHP module, you'll need either to install
mpm_worker or compile Apache --with-mpm=worker, and then use that Apache build to be linked with PHP
configured with --enable-maintainer-zts option.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2015-11-06 13:59:48] jfha73 at gmail dot com
2.4.17
------------------------------------------------------------------------
[2015-11-06 02:39:30] laruence@php.net
which apache version/mpm do you use?
------------------------------------------------------------------------
[2015-11-05 20:43:31] jfha73 at gmail dot com
Description:
------------
./configure is showing:
+--------------------------------------------------------------------+
| *** WARNING *** |
| |
| You have built PHP for Apache's current non-threaded MPM. |
| If you change Apache to use a threaded MPM you must reconfigure |
| PHP with --enable-maintainer-zts |
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+
Even when --enable-maintainer-zts is added and it's not letting mod_mm to be compiled because
it needs PHP to be Thread Safe
Expected result:
----------------
compile Thread Safe.
Actual result:
--------------
nts is built even when --enable-maintainer-zts is added
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70865&edit=1
Thread (5 messages)