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.
sudo yum install php-pdo_mysql
after install 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.
Hi, My name is Harsukh Makwana. i have been work with many programming language like php, python, javascript, node, react, anguler, etc.. since last 5 year. if you have any issue or want me hire then contact me on [email protected]
How to Switch PHP versions using Command Line in Ubuntu
You might need multiple PHP version for...How to get element by class name in JavaScript
Use the getElementsByClassName() method...Client does not support authentication protocol requested by server; consider upgrading MySQL client
Recently I was working on Node.js applic...Laravel - How to Get .env Variable in Blade and Controller?
In this example, you will learn how to a...PHP Parse and Process XML data
Sometimes working with 3rd party API, yo...