Runtime Configuration

The behaviour of these functions is affected by settings in php.ini.

mongodb Configure Options
Name Default Changeable Changelog Comments
mongodb.debug "" PHP_INI_ALL  

Here's a short explanation of the configuration directives.

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.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top