mysqlnd_ms error - getaddrinfo failed, mysqlnd_global_stats in Unknown
I'm trying to set up mysqlnd_ms so that it serves its purpose of doing the reads on the slave db and writes on the master db. However, I'm getting this error when httpd is restarted. 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_global_stats in Unknown on line 0 I'm running an Amazon EC2 x64 AMI instance and ran the following commands on a fresh instance: sudo yum update sudo yum install -y gcc make gcc-c++ sudo yum install -y httpd24 php54 sudo yum install -y php54-devel php54