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