Post as a guest Name. Series Browse Podcast Discussions. I used generators and created my migrations. If you’re not sure which, check your PHP version with php –version and install the corresponding driver. Sign up or log in Sign up using Google. Robin Wang 4
|Date Added:||15 June 2016|
|File Size:||17.31 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
php artisan migrate gives me an error could not find driver
Email Required, but never shown. If this is solved, please mark it as solved by clicking the tick mark at the left so that it turns solid green. You can use sudo apt-get install php7-mysql or sudo apt-get install php5-mysql or sudo apt-get install php-mysql This worked for me. Fixed my issue while trying to run phpunit on the main Laravel Framework.
Please check your Laravel. Sign up using Facebook.
I followed the instructions from here and did: Want us to email you occasionally with Laracasts news? Hi, Have We Met Yet?
Sign up or log in Sign up using Google. I have a bad experience while installing laravel. Sign up using Facebook. Vamshi Vangapally 4 12 Leith 2, 1 15 Post as a guest Name. Series Browse Podcast Discussions.
nginx – PDOException could not find driver – Homestead Laravel – Server Fault
Hemen Ashodia 2 The issue miigrate, I was using the dotdeb repository for more recent PHP packages. JaTochNietDan 4 And guess what, it Worked!
Sign up using Email and Password. I had installed mysql and php artisan migrate worked after i changed that line to this: Install it via this command sudo apt-get install php5-gd this worked for me.
But phpinfo does shows mysql module. However, I was able to do so and move to the next level. This installed sqlite for php5, then I ran the php artisan migrate command again laravell worked perfectly.
You only need to use your installed PHP version, mine is 7. Larafel tried searching on stackoverflow and laravel forums and people suggest that it’s PDO problem and not artisan’s or php’s – I followed those suggestions like adding.
php artisan migrate : PDOException could not find driver
It always says laavel not find driver. If you’re not sure which, check your PHP version with php –version and install the corresponding driver.