Comment 2 for bug 178906

Revision history for this message
MelkorLord (melkorlord) wrote :

Hi,

I second this request as this is VERY annoying not to be able to use SQLite3 at all within PHP!

Installing "php5-sqlite" adds support for "sqlite" and "pdo_sqlite" extensions which is fine but limited to SQLite 2.x databases.

Installation "php5-sqlite3" adds support for "sqlite3" extension but it is absolutely _unusable_ with PHP. The PHP site here http://www.php.net/manual/en/book.sqlite3.php shows how we should use the extension but trying to instantiate the the PDO style class "SQLite3" resulted in the error :

PHP Fatal error: Class 'SQLite3' not found in /path/to/file.php

So, could this issue be fixed so we can fully use SQLite3 with PHP?