TECHIES WORLD

For Techs.... Techniques.... Technologies....

LinuxMysqlPHP

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