Installation

The SQLite3 extension is enabled by default. It's possible to disable it by using --without-sqlite3 at compile time.

Windows users must enable php_sqlite3.dll in order to use this extension. This DLL is included with Windows distributions of PHP.

Note: Additional setup on Windows as of PHP 7.4.0

In order for this extension to work, there are DLL files that must be available to the Windows system PATH. For information on how to do this, see the FAQ entitled "How do I add my PHP directory to the PATH on Windows". Although copying DLL files from the PHP folder into the Windows system directory also works (because the system directory is by default in the system's PATH), this is not recommended. This extension requires the following files to be in the PATH: libsqlite3.dll.

add a note add a note

User Contributed Notes 2 notes

up
-15
Ash
10 years ago
On Windows, make sure the   extension_dir = "ext"  line in  php.ini   is uncommented and pointing to the correct extensions directory if different from "ext".
up
-75
spiro79 at gmail dot com
11 years ago
On CentOS 6.4 many libraries are not activated... SQLite is one of them.
To Top