Skip to content
Derek Jones edited this page Jul 5, 2012 · 4 revisions

Category:Core | Category:Core::Community | Category:Core::Database

The following was written and tested using CodeIgniter 1.7.2.

This page doesn't serve as a comprehensive guide to using sqlite with CodeIgniter, but instead as a foundation to getting started.

Versions Supported

Upon my testing, SQLite version 3 databases weren't recognized by CodeIgniter. This driver adds support for those. It is intended to use SQLite3 extension available on PHP >= 5.3 but a backport is made for PHP 5.

Tested enviroment

It has been tested on Archlinux using PHP 5.3.3 with php-sqlite package and Ubuntu Hardy Heron with PHP 5.2.4 and php5-sqlite3 0.5. However it has not been fully tested.

Download

File:sqlite3.tgz

Installing

To use this driver, just uncompress it to system/database/drivers/sqlite3 and on your database driver setting set "sqlite3".

Clone this wiki locally