blob: d40b453b757ca84a186f88bbd4addec7c21328e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Disable MPM detection
mod_php is build twice
- as NTS without option
- as ZTS using --enable-maintainer-zts
diff -up ./sapi/apache2handler/config.m4.mpmcheck ./sapi/apache2handler/config.m4
--- ./sapi/apache2handler/config.m4.mpmcheck 2024-07-03 15:56:56.882370597 +0200
+++ ./sapi/apache2handler/config.m4 2024-07-03 15:59:15.967824949 +0200
@@ -106,11 +106,6 @@ if test "$PHP_APXS2" != "no"; then
[mod_php.c sapi_apache2.c apache_config.c php_functions.c],
[$APACHE_CFLAGS])
- AS_IF([$APXS_HTTPD -V 2>/dev/null | grep 'threaded:.*yes' >/dev/null 2>&1], [
- APACHE_THREADED_MPM=yes
- PHP_BUILD_THREAD_SAFE
- ], [APACHE_THREADED_MPM=no])
-
AC_CONFIG_COMMANDS([apache2handler], [AS_VAR_IF([enable_zts], [yes],,
[AS_VAR_IF([APACHE_THREADED_MPM], [no],
[AC_MSG_WARN([
|