From owner-freebsd-ports@FreeBSD.ORG Thu Sep 28 06:20:42 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C586F16A407; Thu, 28 Sep 2006 06:20:42 +0000 (UTC) (envelope-from albert@bigtearice.net) Received: from hanghau.pacific.net.hk (hanghau.pacific.net.hk [202.64.33.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8BA543D49; Thu, 28 Sep 2006 06:20:41 +0000 (GMT) (envelope-from albert@bigtearice.net) Received: from mx1.bigtearice.net ([210.17.215.61]) by hanghau.pacific.net.hk with ESMTP id k8S6KeF8012776; Thu, 28 Sep 2006 14:20:40 +0800 Received: from mail.bigtearice.net (localhost [127.0.0.1]) by mx1.bigtearice.net (8.13.6/8.13.6) with ESMTP id k8S6Kfji010609; Thu, 28 Sep 2006 14:20:41 +0800 (HKT) (envelope-from albert@bigtearice.net) From: "Albert Poon" To: Alex Dupre Date: Thu, 28 Sep 2006 14:20:41 +0800 Message-Id: <20060928060848.M97487@bigtearice.net> In-Reply-To: <451B6550.9060903@FreeBSD.org> References: <20060927211423.M82508@bigtearice.net> <451B6550.9060903@FreeBSD.org> X-Mailer: OpenWebMail 2.52 20060502 X-OriginatingIP: 210.17.226.150 (albert) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Scanned-By: MIMEDefang 2.57 on 210.17.215.61 Cc: "ports@FreeBSD.org" Subject: Re: FreeBSD Port: php4-4.4.4 (how to install php4-4.4.4 with --enable-experimental-zts using ports?) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2006 06:20:42 -0000 On Thu, 28 Sep 2006 08:01:52 +0200, Alex Dupre wrote > Albert Poon ha scritto: > > How to install php4-4.4.4 with --enable-experimental-zts using ports? > > Why you should? Because I encountered problem (stalled childs) currently and some suggested -- enable-experimental-zts when using Apache worker MPM. I modified the Makefile and rebuild the PHP and extensions, and it seems fine, no more stalled child. > > > Also, as I am using Apache 2.2.3 with worker MPM, should I set enable_dl = > > Off in php.ini? > > Why? Well the description in php.ini said the dl() function does NOT work properly in multithreaded servers, that's why I wonder. > The php ports auto-detect threaded apache and build accordingly. > Said so, php developers discourage the use of a threaded php. Well, I won't care how it works if everything run smooth. Too bad the box does not have huge amount of RAM, worker MPM is preferred atm, and I have to fix the problem. > > -- > Alex Dupre Albert Poon