略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: 运行时配置

2024-12-21

运行时配置

这些函数的行为受 php.ini 中的设置影响。

SQLite3 配置选项
名字 默认 可修改范围 更新日志
sqlite3.extension_dir "" PHP_INI_SYSTEM PHP 5.3.11 起可用
sqlite3.defensive 1 PHP_INI_SYSTEM PHP 7.2.17 和 7.3.4 起可用,libsqlite ≥ 3.26.0。

这是配置指令的简短说明。

sqlite3.extension_dir string

Path to the directory where the loadable extensions for SQLite reside.

sqlite3.defensive bool

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.

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/sqlite3.configuration.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3