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