How to install MySQLi on MacOS

sunset.8 picture sunset.8 · Aug 31, 2011 · Viewed 305k times · Source

I cannot find instructions about installing MySQLi on a Mac. Just to be clear, MySQL is up to date and I am running PHP 5. How do I install it? Where do I even get it from? Thanks for your help. I'll be giving an up vote and a check mark to whoever answers this!

Answer

Aldo Solis Zenteno picture Aldo Solis Zenteno · Sep 5, 2014

Use php-mysqlnd instead of php-mysql. On Linux, to install with apt-get type:

apt-get install php-mysqlnd