mongodb rockmongo

 

config修改如下:

$MONGO["servers"][$i]["mongo_auth"] = true;//enable mongo authentication?
 
$MONGO["servers"][$i]["control_auth"] = true;//enable control users, works only if mongo_auth=false

字段过长报错Cannot natively represent the long 1396367483000 on this platform

添加

ini_set('mongo.long_as_object', 1);

PHP安装mongo扩展:

https://pecl.php.net/package/mongo

posted on 2018-07-10 09:13  小乔流水人家  阅读(159)  评论(0编辑  收藏  举报

导航