1. The old sqlite extension supports SQLite 2 databases, CentOS 5 has SQLite 3.2. Install the php-pdo package which adds
phpinfo() says I have SQLite 3.x driver for PDO.
php.ini only mentions sqlite like so:
;sqlite.assoc_case = 0
I tried running sudo apt-get install php5-sqlite3 and it says: E: Unable to locate package php5-sqlite3
How do I enable sqlite?
Beginning with PHP 5.4, this extension is available only via PECL.
This package is not maintained anymore and has been superseded.
So, how am I supposed to get SQLite on PHP?
I guess downgrading to PHP 5.3 would work, but is that wise?