PDO_SQLITE is a driver that implements the PHP Data Objects (PDO) interface to enable access to SQLite 3 databases.
注意:
PDO_SQLITE allows using strings apart from streams together with
PDO::PARAM_LOB
.
The PDO_SQLITE PDO driver is enabled by default. To disable,
--without-pdo-sqlite[=DIR] may be used,
where the optional [=DIR]
is the sqlite base install directory.
As of PHP 7.4.0 ? libsqlite ≥ 3.5.0 is required.
Formerly, the bundled libsqlite could have been used instead, and was the
default, if [=DIR]
has been omitted.
注意: Additional setup on Windows as of PHP 7.4.0
為了使此擴(kuò)展生效, DLL 文件必須能在 Windows 系統(tǒng)的 PATH 指示的路徑下找到。如何操作的信息,請(qǐng)參見(jiàn)題為“如何在 Windows 中將 PHP 目錄加到 PATH 中”的FAQ。雖然將 DLL 文件從 PHP 文件夾復(fù)制到 Windows 系統(tǒng)目錄也行,但不建議這樣做。 此擴(kuò)展需要下列文件在 PATH 路徑中: libsqlite3.dll.