<?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 => 'en',
  ),
  'this' => 
  array (
    0 => 'mongodb.configuration.php',
    1 => 'Runtime Configuration',
    2 => 'Runtime Configuration',
  ),
  'up' => 
  array (
    0 => 'mongodb.setup.php',
    1 => 'Installing/Configuring',
  ),
  'prev' => 
  array (
    0 => 'mongodb.installation.php',
    1 => 'Installation',
  ),
  'next' => 
  array (
    0 => 'mongodb.constants.php',
    1 => 'Predefined Constants',
  ),
  '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">Runtime Configuration</h2>
 <p class="simpara">
The behaviour of these functions is affected by settings in <var class="filename">php.ini</var>.
</p>
 <p class="para">
  <table class="doctable table">
   <caption><strong>mongodb Configure Options</strong></caption>
   
    <thead>
     <tr>
      <th>Name</th>
      <th>Default</th>
      <th>Changeable</th>
      <th>Changelog</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">Here&#039;s a short explanation of
the configuration directives.</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">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); ?>