Re: [PHP-INSTALL] Deploying an extension
[email protected] (Keith Roberts) Sat, 17 Nov 2012 08:55:31 +0000 (GMT)
| Newsgroups | php.install |
|---|---|
| Message-ID | <alpine.LRH.2.02.1211170851400.21741@karsites> |
On Sat, 17 Nov 2012, LIN PENG wrote: > To: Roman Gelfand <[email protected]> > From: LIN PENG <[email protected]> > Subject: Re: [PHP-INSTALL] Deploying an extension > > > > Lingpeng > > 2012-11-17拢卢2:24拢卢Roman Gelfand <[email protected]> 麓碌拢潞 > >> I have manually built version 5.4.8 to /usr/local prefix on debian >> squeeze. I need to deploy a custom extension mapi.so already >> precompiled. It is part of deployment .deb package. This package >> deploys to /usr prefix. From my php.ini, I specify extension="mapi.so >> deployment path". I didn't try it personally but, others tell me that >> it works if they deploy php from apt-get. >> >> I get this error... >> >> PHP Warning: PHP Startup: Unable to load dynamic library >> '/usr/lib/php5/20090626+lfs/mapi.so' - >> /usr/lib/php5/20090626+lfs/mapi.so: undefined symbol: compiler_globals >> in Unknown on line 0 Hi Lin. By the look of the error messages above, I think you need to get the source code for this mapi extension, and compile it yourself when you are compiling PHP. That should make those error messages disappear. Or just use PHP from the debian repo with apt-get? HTH Keith ----------------------------------------------------------- Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] -----------------------------------------------------------