【发布时间】:2018-05-14 04:05:50
【问题描述】:
我已将我的 MongoDB 更新到 3.6 版本。我在 CentOS 7 和 PHP 5.5.38 上使用 PHP MongoClient。 如果我运行MongoDB库的aggregateCursor方法,通过http://php.net/manual/en/mongocollection.aggregatecursor.php报告的第一个例子,我得到如下错误信息:
PHP Fatal error: Uncaught exception 'MongoCursorException' with message '95.110.150.99:27017: the command cursor did not return a correctly structured response'
您对这种行为有任何想法吗?
【问题讨论】:
标签: php mongodb aggregate-functions