Re: Deploying an extension
| From: | Keith Roberts | Date: | Sat, 17 Nov 2012 08:55:31 +0000 |
| Subject: | Re: Deploying an extension | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-20211@lists.php.net to get a copy of this message | ||
On Sat, 17 Nov 2012, LIN PENG wrote:
To: Roman Gelfand <rgelfand2@gmail.com> From: LIN PENG <jimgreen8@me.com> Subject: Re: [PHP-INSTALL] Deploying an extension Lingpeng 在 2012-11-17,2:24,Roman Gelfand <rgelfand2@gmail.com> 写道: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] -----------------------------------------------------------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