Question

Enable Sqlite in PHP on Centos 7

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.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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