LoginSignup
0

More than 5 years have passed since last update.

php artisan migrateしたときの「[PDOException] could not find driver」

Last updated at Posted at 2017-06-19

マイグレート実行時

laravel「PDOに接続しようとしたけどなんか足りない・・」ってエラー

[PDOException]
could not find driver

PHP7系のマイ環境では

yum install --enablerepo=remi-php70 php php-fpm php-mcrypt php-cli php-common php-devel php-gd php-mbstring php-mysqlnd php-opcache php-pdo php-pear php-pecl-apcu p hp-pecl-zip php-process php-xml

で解決

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