Could not find driver


(Bjishu) #1

7409

Screenshot from 2017-06-20 22-15-46.png
yii2 db exception: Could not find driver …how to resolv this


(Alirz23) #2

what database are you using? do you have that php driver installed for that specific database? if you are using postgres you need to install php-pgsql extension as well


(Bjishu) #3

I am using mysql which comes with XAMPP…and Yii also uses mysql. And php driver is installed in XAMPP


(swapn) #4

on command line write line
composer update

if you on root directory thats why causing issue