summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-12-03 16:54:12 +0000
committerthomascube <thomas@roundcube.net>2005-12-03 16:54:12 +0000
commit1cded85790206afe084e1baff371c543711b2b18 (patch)
treeb050fb89707e048df5f30f500faad792962a1e81 /INSTALL
parent5bc8cb662fc3bcda9aa641b7a5e88c0b81dd63d6 (diff)
Re-design of caching (new database table added\!); some bugfixes; Postgres support
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL20
1 files changed, 20 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index cca4fa12a..f343c8228 100644
--- a/INSTALL
+++ b/INSTALL
@@ -31,6 +31,7 @@ roundcube user. Here is an example of that procedure:
> quit
# mysql roundcubemail < SQL/mysql.initial.sql
+
* SQLite
--------
Sqlite requires specifically php5 (sqlite in php4 currently doesn't
@@ -44,6 +45,25 @@ Make sure your configuration points to the sqlite.db file and that the
webserver can write to the file.
+* PostgreSQL
+------------
+To use RoundCube with PostgreSQL support you have to follow the next
+simple steps, which have to be done with the postgres system user (or
+which ever is the database superuser):
+
+$ createuser roundcubemail
+$ createdb -O roundcubemail roundcubemail
+$ psql roundcubemail
+
+roundcubemail =# ALTER USER roundcube WITH PASSWORD 'the_new_password';
+roundcubemail =# \c - roundcubemail
+roundcubemail => \i SQL/postgres.initial.sql
+
+All this has been tested with PostgreSQL 8.0.x and 7.4.x. Older
+versions don't have a -O option for the createdb, so if you are
+using that version you'll have to change ownership of the DB later.
+
+
UPGRADING
=========
If you already have a previous version of RoundCube installed,