Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46742 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21102 invoked from network); 14 Jan 2010 23:32:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jan 2010 23:32:48 -0000 Authentication-Results: pb1.pair.com header.from=bruce1828@hotmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=bruce1828@hotmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hotmail.com designates 65.55.90.80 as permitted sender) X-PHP-List-Original-Sender: bruce1828@hotmail.com X-Host-Fingerprint: 65.55.90.80 snt0-omc2-s5.snt0.hotmail.com Windows 2000 SP4, XP SP1 Received: from [65.55.90.80] ([65.55.90.80:33569] helo=snt0-omc2-s5.snt0.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4E/6C-56067-D99AF4B4 for ; Thu, 14 Jan 2010 18:32:47 -0500 Received: from SNT132-W12 ([65.55.90.71]) by snt0-omc2-s5.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 14 Jan 2010 15:32:43 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_d3a8bab1-e79b-4292-bba5-595865a1bafa_" X-Originating-IP: [207.109.69.9] To: Date: Thu, 14 Jan 2010 15:32:42 -0800 Importance: Normal In-Reply-To: <4B4ED5A3.4020906@daylessday.org> References: ,<4B4ED5A3.4020906@daylessday.org> MIME-Version: 1.0 X-OriginalArrivalTime: 14 Jan 2010 23:32:43.0003 (UTC) FILETIME=[DE7C94B0:01CA9571] Subject: RE: [PHP-DEV] Apache has two versions on my extension loaded! From: bruce1828@hotmail.com (Bruce Bailey) --_d3a8bab1-e79b-4292-bba5-595865a1bafa_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Antony Thanks very much for your reply. And yes=2C you're right=2C it IS time to = upgrade. Unfortunately=2C ldd only shows shared libraries that are automatically loa= ded. My php extension is loaded by dlopen=2C which is not shown by ldd. I used lsof because it shows all DSO libraries that are loaded=2C regardles= s of how they are loaded. I was not aware that lsof was likely to be wrong= . I guess that my only recourse is to stop and start apache=2C and not use 'g= raceful' at all. Again=2C thanks for your reply. Bruce > Date: Thu=2C 14 Jan 2010 11:28:19 +0300 > From: tony@daylessday.org > To: bruce1828@hotmail.com > CC: internals@lists.php.net > Subject: Re: [PHP-DEV] Apache has two versions on my extension loaded! >=20 > On 01/14/2010 02:55 AM=2C Bruce Bailey wrote: > > Help! > >=20 > > I was patching out a new version of my PHP extension=2C with a differen= t version as part of the name: > >=20 > > libmyext.so.1.0 is now libmyext.so.2.0 > >=20 > > I updated php.ini (extension=3Dlibmyext.so.2.0) and restarted apache wi= th the graceful option. =20 > > For some reason=2C both extensions were loaded simultaneously -- as rep= orted by 'lsof' >=20 > lsof might be wrong or you need to stop&start your apache. > In any case=2C you should have used ldd instead of lsof. >=20 > > apache version 1.3.37=20 > > PHP version 5.2.3 >=20 > Btw=2C it's time to upgrade these. >=20 > --=20 > Wbr=2C=20 > Antony Dovgal > --- > http://pinba.org - realtime statistics for PHP >=20 > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe=2C visit: http://www.php.net/unsub.php >=20 =20 _________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/196390709/direct/01/= --_d3a8bab1-e79b-4292-bba5-595865a1bafa_--