FreeBSD 6.1-R-p10 and PHP 5.2.0

eculp at encontacto.net eculp at encontacto.net
Wed Nov 22 04:57:07 PST 2006


Quoting Miros?aw Jaworski <mjaw at 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=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?
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>




More information about the freebsd-ports mailing list