Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The default Ubuntu PHP package does not include the PDO SQLite extension. How can I install the SQLite PDO extension? Is there a package that one can easily install via apt-get?

share|improve this question

2 Answers 2

up vote 8 down vote accepted

just do:

sudo apt-get install php5-sqlite

Next time, you can find it via:

apt-cache search php | grep sqlite
share|improve this answer
    
Thanks! Good to know how to search the package list via console. Didn't have cloue how to search for packets until now. –  wowpatrick Aug 9 '11 at 15:42
    
@wowpatrick: you welcome. –  Michał Šrajer Aug 10 '11 at 6:43

php5-sqlite - SQLite module for php5 php-mdb2-driver-sqlite - PHP PEAR module to provide a SQLite driver for MDB2

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.