Hi,

On 5 January 2011 17:49, Joseph Nahmias <j...@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.

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



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to