summaryrefslogtreecommitdiff
path: root/INSTALL.sqlite.txt
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-03-13 21:41:15 +0000
committerDries Buytaert <dries@buytaert.net>2009-03-13 21:41:15 +0000
commit35794257c39c915f15c23b968cd9edd166a12696 (patch)
treec5ae219008a47e94b0c9fbc6aff678683885cca2 /INSTALL.sqlite.txt
parentd26f29bb67e93721691f186459393d9bfea5329f (diff)
downloadbrdo-35794257c39c915f15c23b968cd9edd166a12696.tar.gz
brdo-35794257c39c915f15c23b968cd9edd166a12696.tar.bz2
- Patch #337993 by CrashTest_, drewish, et al: installation instructions for SQLite.
Diffstat (limited to 'INSTALL.sqlite.txt')
-rw-r--r--INSTALL.sqlite.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/INSTALL.sqlite.txt b/INSTALL.sqlite.txt
new file mode 100644
index 000000000..cc0c9a496
--- /dev/null
+++ b/INSTALL.sqlite.txt
@@ -0,0 +1,34 @@
+// $Id$
+
+SQLITE REQUIREMENTS
+-------------------
+
+To use SQLite with your Drupal installation, the following requirements must
+be met: server has PHP 5.2 or later with PDO, and the PDO SQLite driver must
+be enabled.
+
+SQLITE DATABASE CREATION
+------------------------
+
+The Drupal installer will create the SQLite database for you. The only
+requirement is the installer must have write permissions the directory where
+the database file resides.
+
+On the "Database configuration" form in the "Database name" field, you must
+supply the exact path to where you wish your database file to reside. It is
+strongly suggested that you choose a path that is outside of the webroot, yet
+ensure that the directory is writeable by the web server.
+
+If you must place your database file in your webroot, you could try using the
+following in your "Database name" field:
+
+ sites/default/files/.ht.sqlite
+
+Note: The .ht in the name will tell Apache to prevent the database from being
+downloaded. Please check that the file is, indeed, protected by your webserver.
+If not, please consult the documentation of your webserver on how to protect a
+file from downloading.
+
+USERNAME, PASSWORD, and ADVANCED OPTIONS
+----------------------------------------
+No username, password, or advanced options are necessary and should not be used.