9cae5e
Disable MPM detection
9cae5e
9cae5e
mod_php is build twice
9cae5e
- as NTS without option
9cae5e
- as ZTS using --enable-maintainer-zts
9cae5e
9cae5e
diff --git a/sapi/apache2handler/config.m4 b/sapi/apache2handler/config.m4
9cae5e
index 2e64b21..ec4799f 100644
9cae5e
--- a/sapi/apache2handler/config.m4
9cae5e
+++ b/sapi/apache2handler/config.m4
9cae5e
@@ -116,17 +116,6 @@ if test "$PHP_APXS2" != "no"; then
9cae5e
     ;;
9cae5e
   esac
9cae5e
 
9cae5e
-  if test "$APACHE_VERSION" -lt 2004001; then
9cae5e
-    APXS_MPM=`$APXS -q MPM_NAME`
9cae5e
-    if test "$APXS_MPM" != "prefork" && test "$APXS_MPM" != "peruser" && test "$APXS_MPM" != "itk"; then
9cae5e
-      PHP_BUILD_THREAD_SAFE
9cae5e
-    fi
9cae5e
-  else
9cae5e
-    APACHE_THREADED_MPM=`$APXS_HTTPD -V | grep 'threaded:.*yes'`
9cae5e
-    if test -n "$APACHE_THREADED_MPM"; then
9cae5e
-      PHP_BUILD_THREAD_SAFE
9cae5e
-    fi
9cae5e
-  fi
9cae5e
   AC_MSG_RESULT(yes)
9cae5e
   PHP_SUBST(APXS)
9cae5e
 else