Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Nov 2006 05:32:07 -0600
From:      "eculp@encontacto.net" <eculp@encontacto.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: FreeBSD 6.1-R-p10 and PHP 5.2.0
Message-ID:  <20061117053207.r0jcg4oqo44gso4s@correo.encontacto.net>
In-Reply-To: <1163761446.4495.10.camel@mjaw-mobile.ipartners.pl>
References:  <200611161509.53708.josh@tcbug.org> <ejk41b$2mv$1@sea.gmane.org> <1163761446.4495.10.camel@mjaw-mobile.ipartners.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Miros?aw Jaworski <mjaw@ikp.pl>:

> 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.

I just tried sessions at the beginning and :

pid 8311 (httpd), uid 0: exited on signal 11 (core dumped)

darn it :(

Out of desperation, I tried several combinations but no cigar :(

If anyone else has a winning combination, I'd love to try it.

Thanks,

ed

>
> 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=3Dbcmath.so
> extension=3Dbz2.so
> extension=3Dctype.so
> extension=3Dcurl.so
> extension=3Ddom.so
> extension=3Dexif.so
> extension=3Dgd.so
> extension=3Dgettext.so
> extension=3Diconv.so
> extension=3Dmbstring.so
> extension=3Dmcrypt.so
> extension=3Dmysql.so
> extension=3Dopenssl.so
> extension=3Dpcre.so
> extension=3Dpdf.so
> extension=3Dzlib.so
> extension=3Dpdo.so
> extension=3Dpgsql.so
> extension=3Dposix.so
> extension=3Dpspell.so
> extension=3Dsession.so
> extension=3Dsimplexml.so
> extension=3Dsoap.so
> extension=3Dsqlite.so
> extension=3Dtokenizer.so
> extension=3Dxml.so
> extension=3Dxmlreader.so
> extension=3Dxmlrpc.so
> extension=3Dxmlwriter.so
> extension=3Dxsl.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?
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>





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