Jump to content


Photo

Problem with Sqlite3 extension


  • Please log in to reply
1 reply to this topic

#1 crimsoncarnage

crimsoncarnage

    Newbie

  • Member
  • Pip
  • 5 posts
  • Main OS: Windows 7

Posted 17 June 2012 - 08:15 PM

I've enabled php_sqlite3.dll in my UniServer.

However, when I try to add a database in phpliteadmin, it fails, even though the extension is installed. Also, no error message appears, and it says that the program can't diagnose the problem and it also says I should contact the person who wrote phpliteadmin.

I even tried the program Adminer, but it says this error message.

"Please use one of the extensions db, sdb, sqlite."

The db and sdb extensions aren't installed in php. I tried looking in the access and error logs and nothing was shown. The pdo SQLite extension is disabled too.

So I've got an extension that doesn't seem to cooperate with PHP. What do I do?

#2 Ric

Ric

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 1,535 posts
  • Gender:Male
  • Location:Cambridge,UK
  • Interests:Electronics
    Internet in general
    Open source projects
  • SourceForge IDmpgcan
  • Wiki ID: Ric
  • Main OS: Windows XP

Posted 18 June 2012 - 07:28 AM

There are two PHP extensions that require enabling:
php_sqlite3.dll
php_pdo_sqlite.dll


Note:
"Please use one of the extensions db, sdb, sqlite."
These are not PHP extensions they are file extensions you provide when saving a database file e.g. test_db.sqlite

All the best
Ric




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users