--- php-5.2.17/configure.orig 2011-01-09 11:32:18.000000000 +0200 +++ php-5.2.17/configure 2011-01-09 11:35:06.000000000 +0200 @@ -6380,7 +6380,7 @@ ;; esac - if test "$APXS_MPM" != "prefork"; then + if test "$APXS_MPM" != "itk" -a "$APXS_MPM" != "prefork"; then enable_maintainer_zts=yes if test "$pthreads_working" != "yes"; then @@ -7228,7 +7228,7 @@ ;; esac - if test "$APXS_MPM" != "prefork"; then + if test "$APXS_MPM" != "itk" -a "$APXS_MPM" != "prefork"; then enable_maintainer_zts=yes if test "$pthreads_working" != "yes"; then --- php-5.2.17/sapi/apache2handler/config.m4.orig 2007-07-12 02:20:37.000000000 +0300 +++ php-5.2.17/sapi/apache2handler/config.m4 2011-01-09 11:45:40.000000000 +0200 @@ -117,7 +117,7 @@ ;; esac - if test "$APXS_MPM" != "prefork"; then + if test "$APXS_MPM" != "itk" -a "$APXS_MPM" != "prefork"; then PHP_BUILD_THREAD_SAFE fi AC_MSG_RESULT(yes)