ports/144859: Patch for php5-5.2.12 to solve some problems with apache-itk
tuupic
mr at tuupic.org.ru
Thu Mar 18 17:10:02 UTC 2010
>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:
More information about the freebsd-ports-bugs
mailing list