Public bug reported:

Running 8.04 64bit desktop w/LAMP added and would like to try out
SQLite3 with PHP.

I get the error when running the example from:
http://us.php.net/manual/en/sqlite3.open.php

as follows:

[EMAIL PROTECTED]:/var/www/foliofn# cat example.php; php example.php
<?php
$db = new SQLite3('mysqlitedb.db');

$db->exec('CREATE TABLE foo (bar STRING)');
$db->exec("INSERT INTO foo (bar) VALUES ('This is a test')");

$result = $db->query('SELECT bar FROM foo');
var_dump($result->fetchArray());
?>

Fatal error: Class 'SQLite3' not found in /var/www/foliofn/example.php on line 2
[EMAIL PROTECTED]:/var/www/foliofn#

I have used synaptic to install anything I could find related to
SQLite/SQLite3.

Any Ideas?

John

P.S. http://ubuntuforums.org/showthread.php?t=891767&highlight=sqlite

** Affects: php-sqlite3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Fatal error: Class 'SQLite3' not found
https://bugs.launchpad.net/bugs/290263
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to