首页 > 编程 > PHP > 正文

php artisan migrate 执行问题(WNMP)

2019-11-06 07:56:17
字体:
来源:转载
供稿:网友

在wnmp下搭建了Laravel框架,执行:php artisan migrate 导致: could not find driver

C:/wnmp/workspace/NetShare>php artisan migrate

[Illuminate/Database/QueryException] could not find driver (SQL: select * from information_schema.tables where table_schema = laravel and table_name = migrations)

[PDOException] could not find driver

解决: php安装的目录下找到php.ini。去掉注释就好 这里写图片描述


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表