From owner-freebsd-ports@FreeBSD.ORG Fri Nov 17 11:04:43 2006 Return-Path: X-Original-To: freebsd-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 DA75116A407 for ; Fri, 17 Nov 2006 11:04:43 +0000 (UTC) (envelope-from mjaw@ikp.pl) Received: from smtpauth.ipartners.pl (smtpauth1.ipartners.pl [157.25.5.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45EAB43D46 for ; Fri, 17 Nov 2006 11:04:42 +0000 (GMT) (envelope-from mjaw@ikp.pl) Received: from [192.168.8.5] (st-gw.ipartners.pl [157.25.5.250]) (authenticated bits=0) by smtpauth.ipartners.pl with ESMTP id kAHB46kq023008 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Fri, 17 Nov 2006 12:04:06 +0100 (CET) From: =?iso-8859-2?Q?Miros=B3aw?= Jaworski To: Ivan Voras In-Reply-To: References: <200611161509.53708.josh@tcbug.org> Content-Type: text/plain Date: Fri, 17 Nov 2006 12:04:06 +0100 Message-Id: <1163761446.4495.10.camel@mjaw-mobile.ipartners.pl> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: FreeBSD 6.1-R-p10 and PHP 5.2.0 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: Fri, 17 Nov 2006 11:04:43 -0000 On Fri, 2006-11-17 at 11:48 +0100, Ivan Voras wrote: > Josh Paetzel wrote: > > Freshly installed FreeBSD 6.1-R-p10 box > > > > Fresh ports tree from today. php 5.2.0 installed from ports with the > > following extensions: > > > # php -v > > PHP 5.2.0 (cli) (built: Nov 16 2006 14:47:28) (DEBUG) > > Copyright (c) 1997-2006 The PHP Group > > Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies > > Segmentation fault (core dumped) > > I've found php to be very sensitive to trivial issues like the order of > loading extensions in extensions.ini, which is just one of the reasons > for its suckiness. I don't see your particular error here (both on i386 > and amd64), but if is the ordering of extensions maybe you could post > your extensions.ini. Unbelievable. I left only sessions module to be loaded and it doesn't segfault. another test - i moved session to the beginning and it worked too. Indeed, it must be some modules interaction then ( loading order ) as you suggest Mine "faulty" extensions.ini was ( the result of installing php5-extensions ): -------------- extension=bcmath.so extension=bz2.so extension=ctype.so extension=curl.so extension=dom.so extension=exif.so extension=gd.so extension=gettext.so extension=iconv.so extension=mbstring.so extension=mcrypt.so extension=mysql.so extension=openssl.so extension=pcre.so extension=pdf.so extension=zlib.so extension=pdo.so extension=pgsql.so extension=posix.so extension=pspell.so extension=session.so extension=simplexml.so extension=soap.so extension=sqlite.so extension=tokenizer.so extension=xml.so extension=xmlreader.so extension=xmlrpc.so extension=xmlwriter.so extension=xsl.so ---------------- M. -- Miroslaw "Psyborg" Jaworski GCS/IT d- s+:+ a C++$ UBI++++$ P+++$ L- E--- W++(+++)$ N++ o+ K- w-- O- M- V- PS+ PE++ Y+ PGP t 5? X+ R++ !tv b++(+++) DI++ D+ G e* h++ r+++ y?