php artisan migrate throwing [PDO Exception] Could not find driver - Using Laravel

后端 未结 26 1596
眼角桃花
眼角桃花 2020-12-01 07:41

I have a bad experience while installing laravel. However, I was able to do so and move to the next level. I used generators and created my migrations. But when I type the

26条回答
  •  青春惊慌失措
    2020-12-01 07:52

    In my case I wasn't aware that the PHP run by Apache was different from the one run by CLI. That might be the case if during configuration in httpd.conf you specified a PHP module, not being the default one your CLI uses.

提交回复
热议问题