[php-maint] Bug#609071: Bug#609071: Class 'SQLiteDatabase' not found
Ondřej Surý
ondrej at sury.org
Thu Jan 6 19:34:39 UTC 2011
Have you loaded sqlite extension in your php.ini? Especially if you have custom php.ini for fastcgi...
Ondřej Surý
On 6.1.2011, at 0:49, Joseph Nahmias <joe at nahmias.net> wrote:
> Package: php5-sqlite
> Version: 5.3.3-6
> Severity: important
>
> Hello,
>
> 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.
>
> Help!
>
>
> -- System Information:
> Debian Release: squeeze/sid
> APT prefers testing
> APT policy: (990, 'testing')
> Architecture: i386 (x86_64)
>
> Kernel: Linux 2.6.32-xenU-3831-x86_64 (SMP w/1 CPU core)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages php5-sqlite depends on:
> ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
> ii libsqlite0 2.8.17-6 SQLite shared library
> ii libsqlite3-0 3.7.3-1 SQLite 3 shared library
> ii php5-cgi [phpapi-20090626+lfs 5.3.3-6 server-side, HTML-embedded scripti
> ii php5-cli [phpapi-20090626+lfs 5.3.3-6 command-line interpreter for the p
> ii php5-common 5.3.3-6 Common files for packages built fr
>
> php5-sqlite recommends no packages.
>
> php5-sqlite suggests no packages.
>
> -- no debconf information
>
>
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-php-maint
More information about the pkg-php-maint
mailing list