1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-24 07:42:10 +01:00
Files
archived-doc-en/reference/sqlite3/ini.xml
Gina Peter Banyard d4d5216e7a [skip-revcheck] Replace PHP_INI_* with INI_* constants
Performed via a bash script which can be found on PR GH-3140

Closes GH-3140

Co-authored-by: haszi <haszika80@gmail.com>
2024-01-26 14:00:36 +00:00

74 lines
2.1 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><constant>INI_SYSTEM</constant></entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.sqlite3.defensive">sqlite3.defensive</link></entry>
<entry>1</entry>
<entry><constant>INI_USER</constant></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>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>