运行时配置

这些函数的行为受 php.ini 中的设置影响。

mongodb 配置选项
名字 默认 可修改范围 更新日志 Comments
mongodb.debug "" PHP_INI_ALL  

这是配置指令的简短说明。

mongodb.debug string

Store full activity debug log in this directory or stream. The special value "stderr" can be provided to write to STDERR.

注意:

Please note that the debug log can contain sensitive information, such as credentials to the MongoDB server and full documents written to or read from the server. Please review any debug logs before sharing them with other people.