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