ZhangHaiJia

第 392 位会员

会员
个人信息
  • 加入于 2018-03-16 17:07:01
  • 最后登录时间 6年前
个人成就
  • 发表文章次数 1
  • 发布回复次数 3
  • 个人主页浏览次数 0
在Mac 安装Class 'MongoDB\Driver\Query' not found6年前

mongodb版本是3.6
composer update Updating yiisoft/yii2-mongodb (2.1.6 => dev-master 24800fb): Checking out 24800fbbf0

还是存在上面这个问题

http://appfront.fecshoptest.com/ 这个也没访问 就存在上面的问题

admin 这个访问 只是里面的Mongodb 500错误

在Mac 安装Class 'MongoDB\Driver\Query' not found6年前

mongo 127.0.0.1:27017/fecshop --quiet /www/restore/mongo-fecshop_test-20170419-065157.js

这一步都没有问题
不是扩展的问题 我用PHP7.1的

在Mac 安装Class 'MongoDB\Driver\Query' not found6年前

有php-mongodb php -m 存在mongodb

上下文问题 直接在appadmin访问就报错这个

Http status: 500 Internal Server Error
ajaxOptions: error
thrownError: Internal Server Error
Exception 'Error' with message 'Class 'MongoDB\Driver\Query' not found' 

in /Users/XXX/wwwroot/php/yii/fecshop/vendor/yiisoft/yii2-mongodb/src/Command.php:284

Your Site Analytics