Configurações em Execução

O comportamento dessas funções podem ser modificado pelas configurações do php.ini.

SQLite3 Opções de Configuração
Nome Padrão Modificável Changelog
sqlite3.extension_dir "" PHP_INI_SYSTEM Available as of PHP 5.3.11.
sqlite3.defensive 1 PHP_INI_SYSTEM Available as of PHP 7.2.17 and 7.3.4 for libsqlite ≥ 3.26.0.

Uma rápida explicação das diretivas de configuração.

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.