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