How to install PDO module for Php in Ubuntu

PDO - PHP Data Objects - is a database access layer providing a uniform method of access to multiple databases.

This article explains the steps to install PDO module for Php in Ubuntu.

Step1: Install PDO module

#apt-get install php7.0-mysql

Step2: Enable PDO module

#phpenmod pdo_mysql

Step3: Restart Apache service

#service apache2 restart

 

Leave a Reply

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