小编Gan*_*dom的帖子

Laravel - 无法使用sqlite找到驱动程序异常

我在Ubuntu 17.4上使用Laravel.当我输入此命令时:我收到以下问题:php artisan migrate:refresh

[Illuminate\Database\QueryException]找不到驱动程序(SQL:select*from sqlite_master where type ='table'和name = migrations)
[PDOException]
找不到驱动程序

我尝试通过运行安装sqlite驱动程序sudo apt-get install php7.1-sqlite3但是我遇到了以下问题:

读取包列表...完成
构建依赖关系树
读取状态信息...完成
E:无法找到包php7.1-sqlite3
E:无法通过glob找到任何包'php7.1-sqlite3'E
:不能通过regex'php7.1-sqlite3'找到任何软件包.

我的php版本也是:PHP 7.1.5-1+deb.sury.org~yakkety+2.

php sqlite laravel

6
推荐指数
1
解决办法
6000
查看次数

标签 统计

laravel ×1

php ×1

sqlite ×1