1
0
mirror of https://github.com/php/doc-zh.git synced 2026-03-24 15:12:20 +01:00
Files
Gina Peter Banyard 37f6128cc9 Apply revchecked skipped commit c60943fefc4ff8950460e76d714a463437cf0eb2
Replace PHP_INI_* with INI_* constants
2024-01-26 14:00:18 +00:00

70 lines
2.1 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 65716f4761484e314ee86fa23493f00f7823ace1 Maintainer: Dean Lee Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<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>
自 PHP 7.2.17 和 7.3.4 起适用于 libsqlite ≥ 3.26.0。在 PHP 8.2.0 之前,此设置只能更改为 <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>
SQLite 的可加载扩展所在目录的路径。
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.sqlite3.defensive">
<term>
<parameter>sqlite3.defensive</parameter>
<type>bool</type>
</term>
<listitem>
<para>
启用 defensive flag 后,将禁用普通 SQL 故意损坏数据库文件的语言功能。这禁止直接写入模式schema、影子表例如 FTS 数据表)或 sqlite_dbpage
虚拟表。此 &php.ini; 设置仅对 libsqlite ≥ 3.26.0 有效。
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>