summaryrefslogtreecommitdiffstats
path: root/php-7.4.0-httpd.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-09-02 10:37:14 +0200
committerRemi Collet <remi@php.net>2022-09-02 10:37:14 +0200
commitc275578ce46d661552e642c8f21dd68eabd427db (patch)
tree0bcd72776f7a8b86895d5f8a8194237b707a9d53 /php-7.4.0-httpd.patch
parentb8a8e0dcae66482c106ba134f3f2a9fc2bc0b163 (diff)
update to 8.2.0RC1
bump API/ABI new random extension add dependency on libselinux
Diffstat (limited to 'php-7.4.0-httpd.patch')
-rw-r--r--php-7.4.0-httpd.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/php-7.4.0-httpd.patch b/php-7.4.0-httpd.patch
new file mode 100644
index 0000000..34f7c8a
--- /dev/null
+++ b/php-7.4.0-httpd.patch
@@ -0,0 +1,27 @@
+Disable MPM detection
+
+mod_php is build twice
+- as NTS without option
+- as ZTS using --enable-maintainer-zts
+
+diff --git a/sapi/apache2handler/config.m4 b/sapi/apache2handler/config.m4
+--- a/sapi/apache2handler/config.m4
++++ b/sapi/apache2handler/config.m4
+@@ -105,17 +105,6 @@ if test "$PHP_APXS2" != "no"; then
+ ;;
+ esac
+
+- if test "$APACHE_VERSION" -lt 2004001; then
+- APXS_MPM=`$APXS -q MPM_NAME`
+- if test "$APXS_MPM" != "prefork" && test "$APXS_MPM" != "peruser" && test "$APXS_MPM" != "itk"; then
+- PHP_BUILD_THREAD_SAFE
+- fi
+- else
+- APACHE_THREADED_MPM=`$APXS_HTTPD -V 2>/dev/null | grep 'threaded:.*yes'`
+- if test -n "$APACHE_THREADED_MPM"; then
+- PHP_BUILD_THREAD_SAFE
+- fi
+- fi
+ AC_MSG_RESULT(yes)
+ PHP_SUBST(APXS)
+ else