From owner-freebsd-ports@FreeBSD.ORG Sat Dec 9 02:31:55 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A5AF16A4A0 for ; Sat, 9 Dec 2006 02:31:55 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from alnrmhc13.comcast.net (alnrmhc13.comcast.net [204.127.225.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 855D143CA7 for ; Sat, 9 Dec 2006 02:30:53 +0000 (GMT) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-67-174-220-97.hsd1.ca.comcast.net[67.174.220.97]) by comcast.net (alnrmhc13) with ESMTP id <20061209023153b1300bqkuue>; Sat, 9 Dec 2006 02:31:54 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 8F8D01FA01D; Fri, 8 Dec 2006 18:31:53 -0800 (PST) Date: Fri, 8 Dec 2006 18:31:53 -0800 From: Jeremy Chadwick To: Miros?aw Jaworski Message-ID: <20061209023153.GA66556@icarus.home.lan> Mail-Followup-To: Miros?aw Jaworski , Mario Theodoridis , spil.oss@gmail.com, freebsd@dfwlp.com, spil.oss@googlemail.com, freebsd-ports@freebsd.org References: <200611072108.40934.freebsd@dfwlp.com> <5fbf03c20612070351s6ff64b66vf61065cd8bcb839b@mail.gmail.com> <200612070635.00668.freebsd@dfwlp.com> <5fbf03c20612080139l3f714bf2m79245be8689d5395@mail.gmail.com> <45250.192.168.223.4.1165571673.squirrel@mail.schmut.com> <1165618467.4522.9.camel@mjaw-mobile.ipartners.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1165618467.4522.9.camel@mjaw-mobile.ipartners.pl> X-PGP-Key: http://jdc.parodius.com/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: spil.oss@gmail.com, freebsd@dfwlp.com, Mario Theodoridis , spil.oss@googlemail.com, freebsd-ports@freebsd.org Subject: Re: php 5.2.0... go boom! 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: Sat, 09 Dec 2006 02:31:55 -0000 On Fri, Dec 08, 2006 at 11:54:27PM +0100, Miros?aw Jaworski wrote: > On Fri, 2006-12-08 at 01:54 -0800, Mario Theodoridis wrote: > > wait, > > wasn't the word on that to put > > extension=session.so > > up into the first line, else .... boom? > > Not exactly. > > Moving sessions to first position worked for _me_. > People report same problem with other modules too - it's random. Our production web server (4.11-STABLE, Apache 2.2.3, PHP 5.2.0) uses the following order with success: $ cat /usr/local/etc/php/extensions.ini extension=gd.so extension=mysql.so extension=zlib.so extension=session.so extension=pcre.so extension=xml.so extension=iconv.so extension=mbstring.so extension=sqlite.so > It's general problem with extensions loading order; it's mentioned > on main php site ( previous discussions contain links ). Yes -- and this is something that really needs to be addressed in the ports PHP framework, because if it's worthy enough for official PHP documentation on it, it'll continue to bite us until it's fixed. Each PHP port could have a priority number associated with it, the end result being that you sort the extensions loaded in order of the priority number when making/changing extensions.ini. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |