Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am working on Amazon EC2 using the Amazon Linux AMI which is based on CentOS.

I have installed php54 and php54-mysqlnd.

I then do a "sudo pecl install myslqnd_ms"

This installs fine.

I add the extension into the php.ini file.

Then I start httpd, and when I do in the error log I see:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqlnd_ms.so' - /usr/lib64/php/modules/mysqlnd_ms.so: undefined symbol: mysqlnd_globals in Unknown on line 0

Googling this lead me to:

https://bugs.php.net/bug.php?id=62276&edit=1

and

http://forums.famillecollet.com/viewtopic.php?id=242

neither of which helped me much.

I am trying to stick to stock pre built binaries from the main YUM repo if possible.

What would be the best solution here?

Thanks in advance

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.