<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/mongodb.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'mongodb.configuration.php',
    1 => '运行时配置',
    2 => '运行时配置',
  ),
  'up' => 
  array (
    0 => 'mongodb.setup.php',
    1 => '安装/配置',
  ),
  'prev' => 
  array (
    0 => 'mongodb.installation.php',
    1 => '安装',
  ),
  'next' => 
  array (
    0 => 'mongodb.constants.php',
    1 => '预定义常量',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mongodb/ini.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="mongodb.configuration" class="section">
 <h2 class="title">运行时配置</h2>
 <p class="simpara">
这些函数的行为受 <var class="filename">php.ini</var> 中的设置影响。
</p>
 <p class="para">
  <table class="doctable table">
   <caption><strong>mongodb 配置选项</strong></caption>
   
    <thead>
     <tr>
      <th>名字</th>
      <th>默认</th>
      <th>可修改范围</th>
      <th>更新日志</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td><a href="mongodb.configuration.php#ini.mongodb.debug" class="link">mongodb.debug</a></td>
      <td>&quot;&quot;</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

    </tbody>
   
  </table>

 </p>

 <p class="para">这是配置指令的简短说明。</p>

 <p class="para">
  <dl>
   
     <dt id="ini.mongodb.debug">
      <code class="parameter">mongodb.debug</code>
      <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
     </dt>
     <dd>
      <span class="simpara">
       This option can be used to enable or disable trace-level debug logging in
       the extension (and libmongoc).
      </span>
      <span class="simpara">
       Specify an empty string, <code class="literal">&quot;0&quot;</code>,
       <code class="literal">&quot;off&quot;</code>, <code class="literal">&quot;no&quot;</code>, or
       <code class="literal">&quot;false&quot;</code> to disable logging.
      </span>
      <span class="simpara">
       Specify <code class="literal">&quot;stderr&quot;</code> or <code class="literal">&quot;stdout&quot;</code> to log
       to <code class="literal">stderr</code> or <code class="literal">stdout</code>, respectively.
      </span>
      <span class="simpara">
       Specify <code class="literal">&quot;1&quot;</code>, <code class="literal">&quot;on&quot;</code>,
       <code class="literal">&quot;yes&quot;</code>, or <code class="literal">&quot;true&quot;</code> to log to a new
       temporary file within the default system temp directory (i.e.
       <span class="function"><a href="function.sys-get-temp-dir.php" class="function">sys_get_temp_dir()</a></span>).
      </span>
      <span class="simpara">
       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.
      </span>
      <blockquote class="note"><p><strong class="note">注意</strong>: 
       <span class="simpara">
        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.
       </span>
      </p></blockquote>
     </dd>
    
  </dl>
 </p>
</div><?php manual_footer($setup); ?>