<?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 => 'en',
  ),
  'this' => 
  array (
    0 => 'sqlite3.configuration.php',
    1 => 'Runtime Configuration',
    2 => 'Runtime Configuration',
  ),
  'up' => 
  array (
    0 => 'sqlite3.setup.php',
    1 => 'Installing/Configuring',
  ),
  'prev' => 
  array (
    0 => 'sqlite3.installation.php',
    1 => 'Installation',
  ),
  'next' => 
  array (
    0 => 'sqlite3.constants.php',
    1 => 'Predefined Constants',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    '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">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>SQLite3 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="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>
       Available as of PHP 7.2.17 and 7.3.4 for libsqlite ≥ 3.26.0.
       Prior to PHP 8.2.0 this setting was changeable only as
       <strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong>.
      </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.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">
       Path to the directory where the loadable extensions for SQLite reside.
      </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">
       When the defensive flag is enabled, language features that allow ordinary
       SQL to deliberately corrupt the database file are disabled. This forbids
       writing directly to the schema, shadow tables (eg. FTS data tables), or
       the sqlite_dbpage virtual table.
       This <var class="filename">php.ini</var> setting is only effective for libsqlite ≥ 3.26.0.
      </p>
     </dd>
    
  </dl>
 </p>
</div><?php manual_footer($setup); ?>