简体   繁体   中英

could not find driver laravel command

I just started to using laravel. and at the moment to execute the command php artisan migrate in the terminal i get this error.

终端错误显示

I'm vs code editor in windows 10 OS Thanks

This error is displaying, because it cannot find the PHP PDO driver.

Check in your " php.ini " file, if the PDO driver is enabled and if the PDO help for your bank is also enabled.

Example:

extension = pdo_mysql
;extension = pdo_pgsql

"To enable, just remove ; to the left of the extension name".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM