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