How To Quickly Know Which PDO Driver Is Available For Your LAMP Stack 

This simple PHP code will quickly give the list of all the drivers that are available for you:

[lang=”php”]

foreach( PDO::getAvailableDrivers() as $driver)
{
echo $driver . ‘
‘;
}
?>
[/lang]

Khayrattee Wasseem's Picture

About Khayrattee Wasseem

PHP enthusiast | The PHP Community Fanboi | Founder of PHP Usergroup for Mauritius (#PhpMauritius) | Aspiring Entrepreneur | Ex-country Manager of a global award winning Magento Agency | Passionate about all things Wordpress & Servers

Mauritius https://wppp.io

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.