Tahsin Abrar's WebLog

Think different.. Be Passionate!

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