SQLite3 class

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

SQLite3 class

Post 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
Post Reply