"sqlite_open" works, "new SQLiteDatabase" don't

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
stabilo
Forum Newbie
Posts: 1
Joined: Wed May 21, 2008 12:00 pm

"sqlite_open" works, "new SQLiteDatabase" don't

Post by stabilo »

Hi,

I just installed the SQLite extension via "pecl install sqlite". Everything seems to be fine, except the fact that the OO-Style doesn't work. If I code something like

Code: Select all

$dbhandle = new SQLiteDatabase('sqlitedb');
PHP complains about "PHP Fatal error: Class 'SQLiteDatabase' not found"

Any ideas about that?


Regards,


Stabilo
Post Reply