Error after installing mysqlnd_ms

Posted by user997226 on Server Fault See other posts from Server Fault or by user997226
Published on 2012-11-10T01:23:46Z Indexed on 2012/11/10 5:03 UTC
Read the original article Hit count: 555

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

© Server Fault or respective owner

Related posts about amazon-ec2

Related posts about php5