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