Moovendra Dhinesh babu
Moovendra Dhinesh babu

Reputation: 818

MongoDB conifg issues at lampp ubuntu 13.04

I was installing Mongodb on my Ubuntu 13.04 . It was installed and I was configured in my php.ini file. My OS is 32-bit version. But when I start my LAMP it show the following error.

Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/mongo.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/mongo.so: undefined symbol: zend_new_interned_string in Unknown on line 0

How do i solve this?

Upvotes: 0

Views: 628

Answers (1)

jmikola
jmikola

Reputation: 6922

It's possible that you compiled the extension against a different version of PHP than the binary you're attempting to load it. Assuming you followed the PECL install instructions, I would suggest you confirm that you only have a single copy of PHP installed on your system, and your configurations are consistent for the web and CLI environments.

Below are some previous threads and bug reports that hint to your error ("undefined symbol: zend_new_interned_string") being a PHP/extension mismatch:

The error is definitely not specific to the MongoDB driver.

Upvotes: 2

Related Questions