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