From owner-freebsd-questions@FreeBSD.ORG Sat Mar 1 11:13:37 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 2D9861065671 for ; Sat, 1 Mar 2008 11:13:37 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id A05468FC18 for ; Sat, 1 Mar 2008 11:13:36 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m21BDTn9011109; Sat, 1 Mar 2008 11:13:30 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.4.4 smtp.infracaninophile.co.uk m21BDTn9011109 Authentication-Results: smtp.infracaninophile.co.uk; dkim=hardfail (SSP) header.i=unknown Message-ID: <47C93A59.5080404@infracaninophile.co.uk> Date: Sat, 01 Mar 2008 11:13:29 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.9 (X11/20080228) MIME-Version: 1.0 To: Mel References: <223074.75507.qm@web33702.mail.mud.yahoo.com> <47C871A6.6040102@dial.pipex.com> <200802292238.44811.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200802292238.44811.fbsd.questions@rachie.is-a-geek.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 01 Mar 2008 11:13:30 +0000 (GMT) X-Virus-Scanned: ClamAV 0.92.1/6062/Sat Mar 1 04:56:21 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org, Alex Zbyslaw , Abdullah Ibn Hamad Al-Marri 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 11:13:37 -0000 Mel wrote: > 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. Oh well. Another beautiful theory destroyed by ugly facts. Actually, I think something like lorder(1) is the right answer here, but it needs rather different semantics to the way lorder(1) has been traditionally used -- hence the rather kludgy step of reversing the final order with 'tail -r'. Something to think about in my copious free time, I suppose. Thank you very much indeed for testing though. 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