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