Конфигурација во време на извршување
Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.
Конфигурација во време на извршување
Референца за `mongodb.configuration.php` со подобрена типографија и навигација.
Конфигурација во време на извршување
Поведението на овие функции е под влијание на поставките во php.ini.
| Име | Стандардно | Променливо | Дневник на промени |
|---|---|---|---|
| mongodb.debug | "" | INI_ALL |
Еве кратко објаснување на директивите за конфигурација.
-
mongodb.debugstring -
This option can be used to enable or disable trace-level debug logging in the extension (and libmongoc).
Specify an empty string,
"0","off","no", или"false"to disable logging.Specify
"stderr"or"stdout"to log tostderrorstdout, соодветно.Specify
"1","on","yes", или"true"to log to a new temporary file within the default system temp directory (i.e. sys_get_temp_dir()).Specify any other string to log to a new temporary file within that directory. If the directory cannot be used, the default system temp directory will be used instead.
Забелешка:
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.