[php-maint] Bug#609071: Bug#609071: Class 'SQLiteDatabase' not found

Raphael Geissert geissert at debian.org
Thu Jan 6 19:56:20 UTC 2011


On 5 January 2011 17:49, Joseph Nahmias <joe at nahmias.net> wrote:
> After installing the php5-sqlite package on my server running squeeze, I
> am still unable to use the php sqlite extension.  I'm using lighttpd with
> fastcgi, and I get the following error in my /var/log/lighttpd/error.log:
> (mod_fastcgi.c.2701) FastCGI-stderr: PHP Fatal error:  Class 'SQLiteDatabase' not found in /srv/www/some.example.net/test_sqlite.php on line 2
> Where test_sqlite.php is the following:
> <?
>        $db = new SQLiteDatabase("test.db");
> ?>
> Other php scripts work fine, it's only the sqlite that has an error.

Please make sure the extension is actually enabled in the
configuration file used by your setup. A simple call to phpinfo()
should do it.

Raphael Geissert - Debian Developer
www.debian.org - get.debian.net

More information about the pkg-php-maint mailing list