if you happen to have this error with php 5 on ubuntu 11.10
PHP Warning: PHP Startup: Unable to load dynamic library /usr/lib/php5/20090626/sqlite.so - /usr/lib/php5/20090626/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0. This has occurred because sqlite support was removed, in favour of pure sqlite3. It seems that a config file was left in place. to fix it, just :
sudo rm /etc/php5/conf.d/sqlite.ini