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