saminathan
saminathan

Reputation: 1

install pdo sqlite driver

how to install pdo sqlite drivers to enable onserver support

Upvotes: 0

Views: 3178

Answers (2)

user2882336
user2882336

Reputation: 1

SQLite Functions (PDO_SQLITE)

Introduction

PDO_SQLITE is a driver that implements the PHP Data Objects (PDO) interface to enable access to SQLite 3 databases.

http://www.php.net/manual/en/ref.pdo-sqlite.php

Upvotes: 0

AJ.
AJ.

Reputation: 3102

Assuming I understand the question, you want to know how to enable PDO SQLite access. Depending on the version of your PHP configuration, you may need to select different options, but assuming PHP 5.3.x, you should edit the php.ini to include the following libraries (for Windows - similar libs with different extension on *nix) in the extension=lib.dll (or extension=lib.so):

  • php_pdo.dll
  • php_pdo_sqlite.dll
  • php_sqlite.dll

This assumes they are available on your server and you can edit the PHP.ini config. If you cannot then you may have to ask your host provider to do this for you (which they may...).

Upvotes: 2

Related Questions