Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Nov 2006 12:04:06 +0100
From:      =?iso-8859-2?Q?Miros=B3aw?= Jaworski <mjaw@ikp.pl>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: FreeBSD 6.1-R-p10 and PHP 5.2.0
Message-ID:  <1163761446.4495.10.camel@mjaw-mobile.ipartners.pl>
In-Reply-To: <ejk41b$2mv$1@sea.gmane.org>
References:  <200611161509.53708.josh@tcbug.org> <ejk41b$2mv$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1163761446.4495.10.camel>