| 1 |
// $Id:$
|
| 2 |
|
| 3 |
SQLITE REQUIREMENTS
|
| 4 |
-------------------
|
| 5 |
|
| 6 |
To use SQLite with your Drupal installation, the following requirements must
|
| 7 |
be met: server has PHP 5.2 or later with PDO, and the PDO SQLite driver must
|
| 8 |
be enabled.
|
| 9 |
|
| 10 |
SQLITE DATABASE CREATION
|
| 11 |
------------------------
|
| 12 |
|
| 13 |
The Drupal installer will create the SQLite database for you. The only
|
| 14 |
requirement is the installer must have write permissions the directory where
|
| 15 |
the database file resides.
|
| 16 |
|
| 17 |
On the "Database configuration" form in the "Database name" field, you must
|
| 18 |
supply the exact path to where you wish your database file to reside. It is
|
| 19 |
strongly suggested that you choose a path that is outside of the webroot, yet
|
| 20 |
ensure that the directory is writeable by the web server.
|
| 21 |
|
| 22 |
If you must place your database file in your webroot, you could try using the
|
| 23 |
following in your "Database name" field:
|
| 24 |
|
| 25 |
sites/default/files/.ht.sqlite
|
| 26 |
|
| 27 |
Note: The .ht in the name will tell Apache to prevent the database from being
|
| 28 |
downloaded. Please check that the file is, indeed, protected by your webserver.
|
| 29 |
If not, please consult the documentation of your webserver on how to protect a
|
| 30 |
file from downloading.
|
| 31 |
|
| 32 |
USERNAME, PASSWORD, and ADVANCED OPTIONS
|
| 33 |
----------------------------------------
|
| 34 |
No username, password, or advanced options are necessary and should not be used.
|