reference/sqlite3/ini.xml
d4d5216e7a965ca194f6b1c9dee84cecab2674e5
...
...
@@ -13,16 +13,26 @@
13
13
<entry>&Name;</entry>
14
14
<entry>&Default;</entry>
15
15
<entry>&Changeable;</entry>
16
-
<entry>Changelog</entry>
16
+
<entry>&Changelog;</entry>
17
17
</row>
18
18
</thead>
19
-
<tbody>
19
+
<tbody xml:id="sqlite3.configuration.list">
20
20
<row>
21
21
<entry><link linkend="ini.sqlite3.extension-dir">sqlite3.extension_dir</link></entry>
22
-
<entry>NULL</entry>
23
-
<entry>PHP_INI_SYSTEM</entry>
22
+
<entry>""</entry>
23
+
<entry><constant>INI_SYSTEM</constant></entry>
24
24
<entry></entry>
25
25
</row>
26
+
<row>
27
+
<entry><link linkend="ini.sqlite3.defensive">sqlite3.defensive</link></entry>
28
+
<entry>1</entry>
29
+
<entry><constant>INI_USER</constant></entry>
30
+
<entry>
31
+
Available as of PHP 7.2.17 and 7.3.4 for libsqlite ≥ 3.26.0.
32
+
Prior to PHP 8.2.0 this setting was changeable only as
33
+
<constant>INI_SYSTEM</constant>.
34
+
</entry>
35
+
</row>
26
36
</tbody>
27
37
</tgroup>
28
38
</table>
...
...
@@ -43,6 +53,21 @@
43
53
</para>
44
54
</listitem>
45
55
</varlistentry>
56
+
<varlistentry xml:id="ini.sqlite3.defensive">
57
+
<term>
58
+
<parameter>sqlite3.defensive</parameter>
59
+
<type>bool</type>
60
+
</term>
61
+
<listitem>
62
+
<para>
63
+
When the defensive flag is enabled, language features that allow ordinary
64
+
SQL to deliberately corrupt the database file are disabled. This forbids
65
+
writing directly to the schema, shadow tables (eg. FTS data tables), or
66
+
the sqlite_dbpage virtual table.
67
+
This &php.ini; setting is only effective for libsqlite ≥ 3.26.0.
68
+
</para>
69
+
</listitem>
70
+
</varlistentry>
46
71
</variablelist>
47
72
</para>
48
73
</section>
49
74