php8.5
Home/ Manual/ reference / sqlite3/ SQLite3 ConfigureOptions

SQLite3 ConfigureOptions

SQLite3 ConfigureOptionsNameDefaultChangeableChangelogsqlite3.extension_dir""INI_SYSTEMsqlite3.defensive1INI_USER 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 INI_SYSTEM.

Runtime Runtime

NameDefaultChangeableChangelog
sqlite3.extension_dir""INI_SYSTEM
sqlite3.defensive1INI_USERAvailable 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 INI_SYSTEM.

Title

sqlite3.extension_dirstring

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

sqlite3.defensivebool

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 Ini setting is only effective for libsqlite ≥ 3.26.0.

Source: reference/sqlite3/ini.xml · from the official PHP manual (php/doc-en)