Not Installing Sqlite 3 on CentOS correctly

MCHam asked:

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.assoc_case = 0

;sqlite3.extension_dir =:

Let me know what else you need?

My answer:

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

yum install php-pdo

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.