Main /

Installing php-sqlite3

Follow these steps to install php-sqlite3:

 ./configure --with-sqlite3=/path/to/sqlite3
 make && make install

You may (optionally) install DB/sqlite3.php class; this will add the sqlite3 driver to the PEAR database abstraction layer (see

 cp DB/sqlite3.php  /path/to/php/lib/php/DB/sqlite3.php

Enabling the extension

    * runtime loading: 

add the following line near the beginning of your script:


    * in php.ini: 

add (or update) the following line in php.ini:

 extensions = [other extensions]
Page last modified on November 16, 2008, at 05:00 PM
Edit SideBar Edit Page | Attach | Page History | Wiki Help | Print
PmWiki version pmwiki-2.0.10