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