# SQLite PDO Driver (PDO_SQLITE)

## 简介

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

> 为了使此扩展生效， DLL 文件必须能在 Windows 系统的 PATH 指示的路径下找到。如何操作的信息，请参见题为“如何在 Windows 中将 PHP 目录加到 PATH 中”的FAQ。虽然将 DLL 文件从 PHP 文件夹复制到 Windows 系统目录也行，但不建议这样做。 此扩展需要下列文件在 PATH 路径中： libsqlite3.dll.

## 目录

- PDO_SQLITE DSN — Connecting to SQLite databases
- PDO::sqliteCreateAggregate — 别名 Pdo\Sqlite::createAggregate
- PDO::sqliteCreateCollation — 别名 Pdo\Sqlite::createCollation
- PDO::sqliteCreateFunction — 别名 Pdo\Sqlite::createFunction

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open