It’s easy to install sqlite (for usage with PHP):

sudo apt-get install php5-sqlite

This will also restart apache (on modern Ubuntu/Debian versions) and make sqlite available for PDO usage. If not, do

sudo service apache2 restart