RE: [PHP-DEV] Apache has two versions on my extension loaded!

From: Date: Thu, 14 Jan 2010 23:32:42 +0000
Subject: RE: [PHP-DEV] Apache has two versions on my extension loaded!
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-46742@lists.php.net to get a copy of this message
Antony Thanks very much for your reply. And yes, you're right, it IS time to upgrade. Unfortunately, ldd only shows shared libraries that are automatically loaded. My php extension is loaded by dlopen, which is not shown by ldd. I used lsof because it shows all DSO libraries that are loaded, regardless 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, and not use 'graceful' at all. Again, thanks for your reply. Bruce > Date: Thu, 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! > > On 01/14/2010 02:55 AM, Bruce Bailey wrote: > > Help! > > > > I was patching out a new version of my PHP extension, with a different version as part of > > the name: > > > > libmyext.so.1.0 is now libmyext.so.2.0 > > > > I updated php.ini (extension=libmyext.so.2.0) and restarted apache with the graceful > > option. > > For some reason, both extensions were loaded simultaneously -- as reported by > > 'lsof' > > lsof might be wrong or you need to stop&start your apache. > In any case, you should have used ldd instead of lsof. > > > apache version 1.3.37 > > PHP version 5.2.3 > > Btw, it's time to upgrade these. > > -- > Wbr, > Antony Dovgal > --- > http://pinba.org - realtime statistics for PHP > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > _________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/196390709/direct/01/

« previous php.internals (#46742) next »