In this article, i will share with you how to resolve "[previous exception] [object] (PDOException(code: 0): could not find driver" issue in CentOs. just follow the steps and resolve this issue.
Install PDO extension
sudo yum install php-pdo_mysql
pdo_mysql then restart the
httpd service by running the following command in your terminal.
sudo systemctl restart httpd.service
i hope you like this solutions.
Copyright 2022 HackTheStuff