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

contributors($setup);

?>
<div id="sqlite3.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>SQLite3 配置选项</strong></caption>
   
    <thead>
     <tr>
      <th>名字</th>
      <th>默认</th>
      <th>可修改范围</th>
      <th>更新日志</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td><a href="sqlite3.configuration.php#ini.sqlite3.extension-dir" class="link">sqlite3.extension_dir</a></td>
      <td>&quot;&quot;</td>
      <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="sqlite3.configuration.php#ini.sqlite3.defensive" class="link">sqlite3.defensive</a></td>
      <td>1</td>
      <td><strong><code><a href="info.constants.php#constant.ini-user">INI_USER</a></code></strong></td>
      <td>
       自 PHP 7.2.17 和 7.3.4 起适用于 libsqlite ≥ 3.26.0。在 PHP 8.2.0 之前，此设置只能更改为 <strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong>。
      </td>
     </tr>

    </tbody>
   
  </table>

 </p>

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

 <p class="para">
  <dl>
   
     <dt id="ini.sqlite3.extension-dir">
      <code class="parameter">sqlite3.extension_dir</code>
      <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
     </dt>
     <dd>
      <p class="para">
       SQLite 的可加载扩展所在目录的路径。
      </p>
     </dd>
    
   
     <dt id="ini.sqlite3.defensive">
      <code class="parameter">sqlite3.defensive</code>
      <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
     </dt>
     <dd>
      <p class="para">
       启用 defensive flag 后，将禁用普通 SQL 故意损坏数据库文件的语言功能。这禁止直接写入模式（schema）、影子表（例如 FTS 数据表）或 sqlite_dbpage
       虚拟表。此 <var class="filename">php.ini</var> 设置仅对 libsqlite ≥ 3.26.0 有效。
      </p>
     </dd>
    
  </dl>
 </p>
</div><?php manual_footer($setup); ?>