Missing php5-pdo-sqlite on Ubuntu Dapper
Ubuntu Dapper has been around for some time now and you’d figure it would have most of the important packages which are available on Debian but that doesn’t seem to be the case.
Ofcourse I’m not to judge which package is more important although I would think that server-related packages like php5-pdo-sqlite should be available, but it isn’t. So one way to deal with it is contact the package author and whine all day that you want an Ubuntu version, or the other way – manually compile it.
So if you require that package on Ubuntu
(or some other distro without it):
- [i] apt-get install php5-dev[/i]
- [i] PHP_PDO_SHARED=1 pecl install pdo[/i]
- [i] PHP_PDO_SHARED=1 pecl install pdo_sqlite[/i]
And ofcourse don’t forget to update the php.ini file (at [i]/etc/php5/apache2/php.ini[/i])
- [i] extension=pdo_sqlite.so[/i]