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