I am trying to install sqlite3 for PHP in Ubuntu.
I install apt-get php5-sqlite3 and edited php.ini to include sqlite3 extension.
apt-get php5-sqlite3
php.ini
W
The SQLite3 PDO driver is named SQLite, not SQLite3, so you can do:
new SQLite("database");
For a SQLite2 database:
new SQLite2("database");