Enable Sqlite in PHP on Centos 7

October 14, 2015 11.8k views
Nginx PHP CentOS

I have setup Nginx with PHP-FPM on CentOS 7. I'm trying to setup a very basic app and don't need MariaDB. However I can't seem to enable the Sqlite extension for PHP. There is no php-sqlite package and just adding extension=sqlite.so or sqlite3.so doesn't load it.

1 Answer

I finally found it, you have to install the php-pdo package.

Have another answer? Share your knowledge.