Page 1 of 1

SQLite3 class

Posted: Sun Oct 12, 2008 3:57 am
by anjanesh
Hi

I was under the impression that SQLite3 worked only with PDO. But looking at the docs (http://in2.php.net/manual/en/sqlite3.query.php) I see that SQLite3 is itself a class.
So I tried but I get the error msg : Fatal error: Class 'SQLite3' not found in.

I did do sudo apt-get install php5-sqlite php5-sqlite3 & restarted apache.
I have SQLITE3 extension enabled with version 3.4.2.

So where is this SQLite3 class ?

Thanks