SyntaxFix
Write A Post
Hire A Developer
Questions
First install php-mysql
sudo apt-get install php7.0-mysql //change the version number based on the php version
then enable the module
sudo phpenmod pdo_mysql
and restart apache
sudo service apache2 restart