Need help to troubleshoot mysqlnd_ms setup on PHP72 with php-fpm

Posted March 29, 2020 2.5k views
MySQLPHPHigh Availability

I need help in troubleshooting why php-fpm isnt loading the mysqlnd_ms plugin. I am attempting to setup a Ubuntu 18 droplet to RW Master/Slave with DO Managed MySQL.

I have installed dependencies and compiled mysqlndms port based on instruction found here

I got several errors when running command “make test”, here’s the log

I created the json config file, added these lines to php and then restarted service

When inspecting phpinfo(), mysqlnmms doesnt appear to be loading and test connections returns the “phpnetwork_getaddresses: getaddrinfo failed” error.

Anyone can point out what I did wrong here?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @davidDolphin,

The issue most probably comes around the make command. If you experienced issues when running make test it would mean the system was missing some dependency. I’ll recommend you to remove the plugin and try to compile it again this time making sure the make test command executes without an error.


  • Hi @KDSys

    I have figured out what the issues was and in short it was noob mistake. Long story short, php 7.4 had updated that day and it compiled under this new version. Once I realize my idiocy, everything started to work.

    Thanks for taking time to reply.