0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

PHP Fatal error: Uncaught PDOException: could not find driver in index.php

Posted at

エラーのためメモ

PHP Fatal error:  Uncaught PDOException: could not find driver in /home/kudu/PhpstormProjects/project/index.php:1
Stack trace:
#0 /home/kudu/PhpstormProjects/project/index.php(3): PDO->__construct()
#1 {main}
  thrown in /home/kudu/PhpstormProjects/project/index.php on line 1

php-mysqlをインストール

sudo apt install -y php-mysql
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?