From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 18 17:10:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C7F9106566C for ; Thu, 18 Mar 2010 17:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E39AB8FC20 for ; Thu, 18 Mar 2010 17:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2IHA1k8049394 for ; Thu, 18 Mar 2010 17:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2IHA1PM049393; Thu, 18 Mar 2010 17:10:01 GMT (envelope-from gnats) Resent-Date: Thu, 18 Mar 2010 17:10:01 GMT Resent-Message-Id: <201003181710.o2IHA1PM049393@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, tuupic Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FBF6106564A for ; Thu, 18 Mar 2010 17:08:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7E6AC8FC1E for ; Thu, 18 Mar 2010 17:08:43 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o2IH8hq7022524 for ; Thu, 18 Mar 2010 17:08:43 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o2IH8gVg022512; Thu, 18 Mar 2010 17:08:42 GMT (envelope-from nobody) Message-Id: <201003181708.o2IH8gVg022512@www.freebsd.org> Date: Thu, 18 Mar 2010 17:08:42 GMT From: tuupic To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/144859: Patch for php5-5.2.12 to solve some problems with apache-itk X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 17:10:02 -0000 >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: