Centos – Not Installing Sqlite 3 on CentOS correctly

centosPHPsqlite

I need to get sqlite 3 installed for php on a CentOS but its still telling that it's not installed.

I did the command and got this message:

yum install sqlite
Package sqlite-3.6.20-1.el6.x86_64 already installed and latest version

I looked into php.ini and notice this, but not sure if it's any use

[sqlite]
; http://www.php.net/manual/en/sqlite.configuration.php#ini.sqlite.assoc-case
;sqlite.assoc_case = 0

[sqlite3]
;sqlite3.extension_dir =:

Let me know what else you need?

Best Answer

SQLite support for PHP is included in the php-pdo package.

yum install php-pdo