I am working on Amazon EC2 using the Amazon Linux AMI which is based on CentOS. I have installed php54 and php54-mysqlnd.
Then I 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 this thread on bugs.php.net and other forum. Neither of which helped me much.
What would be the best solution here? I am trying to stick to stock pre built binaries from the main YUM repo if possible.