Enable Sqlite in PHP on Centos 7

Posted October 14, 2015 13.1k views
Nginx CentOS PHP

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 or doesn’t load it.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

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

Submit an Answer