Install SQLite on Ubuntu

The default Ubuntu PHP package does not include the PDO SQLite extension. So, whenever we’re using some program that use SQLite, then we get this error – “PDO Driver for SQLite is missing.”

So, How can we install the SQLite PDO extension?

For this, just need to do:

sudo apt-get install php5-sqlite

Next time, you can find it via:

apt-cache search php | grep sqlite

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.