1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-24 15:52:15 +01:00
Files
archived-doc-en/reference/sqlite3/ini.xml
George Peter Banyard 65716f4761 Add initial version of the PHP 8.2 migration guide (#1799)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>
2022-09-26 10:40:14 +01:00

74 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<section xml:id="sqlite3.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
<para>
<table>
<title>SQLite3 &ConfigureOptions;</title>
<tgroup cols="4">
<thead>
<row>
<entry>&Name;</entry>
<entry>&Default;</entry>
<entry>&Changeable;</entry>
<entry>&Changelog;</entry>
</row>
</thead>
<tbody xml:id="sqlite3.configuration.list">
<row>
<entry><link linkend="ini.sqlite3.extension-dir">sqlite3.extension_dir</link></entry>
<entry>""</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.sqlite3.defensive">sqlite3.defensive</link></entry>
<entry>1</entry>
<entry>PHP_INI_USER</entry>
<entry>
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
<constant>PHP_INI_SYSTEM</constant>.
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry xml:id="ini.sqlite3.extension-dir">
<term>
<parameter>sqlite3.extension_dir</parameter>
<type>string</type>
</term>
<listitem>
<para>
Path to the directory where the loadable extensions for SQLite reside.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.sqlite3.defensive">
<term>
<parameter>sqlite3.defensive</parameter>
<type>bool</type>
</term>
<listitem>
<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 &php.ini; setting is only effective for libsqlite ≥ 3.26.0.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>