Re: Deploying an extension

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, 17 Nov 2012, LIN PENG wrote:

To: Roman Gelfand <rgelfand2@xxxxxxxxx>
From: LIN PENG <jimgreen8@xxxxxx>
Subject: Re:  Deploying an extension



Lingpeng

在 2012-11-17,2:24,Roman Gelfand <rgelfand2@xxxxxxxxx> 写道:

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]
-----------------------------------------------------------

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux