PHP has been providing us starting form 5.3 the mysqlnd [mysql native driver] that will liberate us from using the mysql client library. And it will be shipped along with the php
But if we remove the mysqllib for some reason and wanted to load it again..
This will be for linux fedora – I have done this on Amazon EC2 server
sudo yum shell remove php-mysql install php-mysqlnd run quit
you will see the new mysql ini files being added in /etc/php.d folder
Then restart httpd
sudo service restart httpd