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

Joseph Nahmias joe at nahmias.net
Wed Jan 5 23:49:18 UTC 2011


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





More information about the pkg-php-maint mailing list