5

[previous exception] [object] (PDOException(code: 0): could not find driver

 2 years ago
source link: https://www.laravelcode.com/post/previous-exception-object-pdoexception-code-0-could-not-find-driver
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

[previous exception] [object] (PDOException(code: 0): could not find driver

  374 views

  8 months ago

CentOS

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

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.

Author : Harsukh Makwana
Harsukh Makwana

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]


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK