Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2010 17:08:42 GMT
From:      tuupic <mr@tuupic.org.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/144859: Patch for php5-5.2.12 to solve some problems with apache-itk
Message-ID:  <201003181708.o2IH8gVg022512@www.freebsd.org>
Resent-Message-ID: <201003181710.o2IHA1PM049393@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         144859
>Category:       ports
>Synopsis:       Patch for php5-5.2.12 to solve some problems with apache-itk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 18 17:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     tuupic
>Release:        8.0
>Organization:
>Environment:
>Description:
If I build php5 apache module with apache-itk, php have built with zend-thread-safe enabled.
It provides many problem.
With apache-prefork all is normal.
It is because php configure.m4 scipt does know about MPM-ITK
Patch in attach fixes this problem.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- sapi.old/apache2filter/config.m4    2010-03-19 00:48:55.000000000 +0800
+++ sapi/apache2filter/config.m4        2010-03-19 00:50:53.000000000 +0800
@@ -118,7 +118,7 @@
     ;;
   esac
 
-  if test "$APXS_MPM" != "prefork"; then
+  if test "$APXS_MPM" != "itk" -a "$APXS_MPM" != "prefork" -a "$APXS_MPM" != "peruser"; then
     PHP_BUILD_THREAD_SAFE
   fi
   AC_MSG_RESULT(yes)
--- sapi.old/apache2handler/config.m4   2010-03-19 00:48:56.000000000 +0800
+++ sapi/apache2handler/config.m4       2010-03-19 00:51:13.000000000 +0800
@@ -117,7 +117,7 @@
     ;;
   esac
 
-  if test "$APXS_MPM" != "prefork"; then
+  if test "$APXS_MPM" != "itk" -a "$APXS_MPM" != "prefork" -a "$APXS_MPM" != "peruser"; then
     PHP_BUILD_THREAD_SAFE
   fi
   AC_MSG_RESULT(yes)


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003181708.o2IH8gVg022512>