From owner-freebsd-questions@FreeBSD.ORG Sat Mar 1 08:05:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF9C5106566B for ; Sat, 1 Mar 2008 08:05:59 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: from web33708.mail.mud.yahoo.com (web33708.mail.mud.yahoo.com [68.142.201.205]) by mx1.freebsd.org (Postfix) with SMTP id 8C4F78FC20 for ; Sat, 1 Mar 2008 08:05:59 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: (qmail 36241 invoked by uid 60001); 1 Mar 2008 08:05:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=GkOt9gJ6c4kqNqmTW//dRBOe//2Vc1KTY9rdgEfNhkNxqPuvdW1DdhbPxhAXI5AQ2iINYUBYn6ZhkP0vEpFJpbZj8rz3dfMC4PUSBI9MROEzPxAPKV6o42RN+z5WUlPjE1G/cggKMO4tRT2t3OQ9lq0iLNdisNPA7Y+jAEKOdqM=; X-YMail-OSG: 2NpYRkIVM1lTjxr.9PGMF.mAS5Wu20Z105b_QkVqsDBkFLDlPZClMs3zUlAtlNWopg-- Received: from [89.211.3.3] by web33708.mail.mud.yahoo.com via HTTP; Sat, 01 Mar 2008 00:05:59 PST X-Mailer: YahooMailRC/902.35 YahooMailWebService/0.7.162 Date: Sat, 1 Mar 2008 00:05:59 -0800 (PST) From: Abdullah Ibn Hamad Al-Marri To: Mel , freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <42120.34974.qm@web33708.mail.mud.yahoo.com> Cc: Alex Zbyslaw Subject: Re: FreeBSD 7.0 AMD64 and apache 2.2.8 exited on signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2008 08:05:59 -0000 ----- Original Message ---- > From: Mel > To: freebsd-questions@freebsd.org > Cc: Alex Zbyslaw ; Abdullah Ibn Hamad Al-Marri > Sent: Saturday, March 1, 2008 12:38:44 AM > Subject: Re: FreeBSD 7.0 AMD64 and apache 2.2.8 exited on signal 11 > > On Friday 29 February 2008 21:57:10 Alex Zbyslaw wrote: > > Abdullah Ibn Hamad Al-Marri wrote: > > >BB# php -v > > >PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Feb 24 2008 21:57:57) > > >Copyright (c) 1997-2007 The PHP Group > > >Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies > > > with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by > > > eAccelerator Segmentation fault (core dumped) > > > > > > > > > > > >Regards, > > > > > >-Abdullah Ibn Hamad Al-Marri > > >Arab Portal > > >http://www.WeArab.Net/ > > > > I hate to see a good post go to waste. This was sent just last week > > sometime. The OP there didn't respond so maybe you can try. There was > > more info in that thread (and probably dozens more just like it). > > > > --Alex > > > > PS This php misfeature is so common that even though I've never run PHP > > in my life, it is burned into my brain that module ordering causes > > severe headaches. > > > > >Hmmm... > > > > > >I've been thinking about methods to make sure the load order of PHP > > >modules avoids this sort of problem. Can you try the following and > > >see if it helps? > > > > > > # cp /usr/local/etc/php/extensions.ini{,.bak} > > > # cd /usr/local/lib/php/20060613 > > > # lorder *.so | tsort | tail -r | sed -e 's/^/extension=/' > > > > /usr/local/etc/php/extensions.ini > > > > > >Oh, and yes, you do need the php5-spl module to be installed. > > > > > > Cheers, > > > > > > Matthew > > > > > >- -- > > >Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > > > Flat 3 > > >PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > > > Kent, CT11 9PW > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > Oh, right, forgot to mention that last time, doesn't work: > $ lorder /usr/local/lib/php/20060613/*.so |tsort -l|tail -r | > sed -e 's,^.*/,extension=,' |sudo /bin/dd > of=/usr/local/etc/php/extensions.ini > 1+1 records in > 1+1 records out > 873 bytes transferred in 0.412678 secs (2115 bytes/sec) > > $ php -v > PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 19 2007 04:04:39) > Copyright (c) 1997-2007 The PHP Group > Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies > Segmentation fault: 11 (core dumped) > > #1 0x2916e544 in __do_global_dtors_aux () > from /usr/local/lib/php/20060613/simplexml.so > #2 0x29172ba8 in _fini () from /usr/local/lib/php/20060613/simplexml.so > > $ sudo > mv /usr/local/etc/php/extensions.ini.bak /usr/local/etc/php/extensions.ini > > $ php -v > PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 19 2007 04:04:39) > Copyright (c) 1997-2007 The PHP Group > Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies > > I'm pretty sure ale@ would've thought of that, if it did work. > > It's all trial and error and I haven't found any 100% working logic to it. > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. This is PHP5 port issue. Now I got it working by editing /usr/local/etc/php/extensions.ini by hand. *sigh* /usr/local/etc/php/extensions.ini Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ