INSTALL.sqlite.txt 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. SQLITE REQUIREMENTS
  2. -------------------
  3. To use SQLite with your Drupal installation, the following requirements must be
  4. met: Server has PHP 5.2 or later with PDO, and the PDO SQLite driver must be
  5. enabled.
  6. SQLITE DATABASE CREATION
  7. ------------------------
  8. The Drupal installer will create the SQLite database for you. The only
  9. requirement is that the installer must have write permissions to the directory
  10. where the database file resides. This directory (not just the database file) also
  11. has to remain writeable by the web server going forward for SQLite to continue to
  12. be able to operate.
  13. On the "Database configuration" form in the "Database file" field, you must
  14. supply the exact path to where you wish your database file to reside. It is
  15. strongly suggested that you choose a path that is outside of the webroot, yet
  16. ensure that the directory is writeable by the web server.
  17. If you must place your database file in your webroot, you could try using the
  18. following in your "Database file" field:
  19. sites/default/files/.ht.sqlite
  20. Note: The .ht in the name will tell Apache to prevent the database from being
  21. downloaded. Please check that the file is, indeed, protected by your webserver.
  22. If not, please consult the documentation of your webserver on how to protect a
  23. file from downloading.