INSTALL.sqlite.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. SQLITE REQUIREMENTS
  2. -------------------
  3. PHP's PDO SQLite driver must be enabled. If you do not have pdo_sqlite
  4. available, depending on your system there are different ways to install it.
  5. Windows
  6. -------
  7. Read more about it on http://www.php.net/manual/en/pdo.installation.php
  8. Linux
  9. -----
  10. sudo apt-get install php-sqlite3
  11. SQLITE DATABASE CREATION
  12. ------------------------
  13. The Drupal installer will create the SQLite database for you. The only
  14. requirement is that the installer must have write permissions to the directory
  15. where the database file resides. This directory (not just the database file) also
  16. has to remain writeable by the web server going forward for SQLite to continue to
  17. be able to operate.
  18. On the "Database configuration" form in the "Database file" field, you must
  19. supply the exact path to where you wish your database file to reside. It is
  20. strongly suggested that you choose a path that is outside of the webroot, yet
  21. ensure that the directory is writeable by the web server.
  22. If you must place your database file in your webroot, you could try using the
  23. following in your "Database file" field:
  24. sites/default/files/.ht.sqlite
  25. Note: The .ht in the name will tell Apache to prevent the database from being
  26. downloaded. Please check that the file is, indeed, protected by your webserver.
  27. If not, please consult the documentation of your webserver on how to protect a
  28. file from downloading.