X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=INSTALL;h=fe71cdf167ff5d072b83da4631991c4df5ab3d4e;hb=3ad64c41c2b35a3427a2afbc99acee5015ca41e7;hp=e2f9a4e9419eb68a8ed35f2eecb530954058f91b;hpb=244596b3e5adbf9b7c67bf9d03ee49fbdd915e37;p=roundcube.git diff --git a/INSTALL b/INSTALL index e2f9a4e..fe71cdf 100644 --- a/INSTALL +++ b/INSTALL @@ -13,20 +13,22 @@ REQUIREMENTS * .htaccess support allowing overrides for DirectoryIndex * PHP Version 5.2 or greater including - PCRE (perl compatible regular expression) + - DOM (xml document object model) - Libiconv - Multibyte String (mbstring) - Mcrypt (supporting Triple DES) - Database driver for either MySQL, Postgres or SQLite * php.ini options: - error_reporting E_ALL & ~E_NOTICE (or lower) - - file_uploads on (for attachment upload features) - memory_limit (increase as suitable to support large attachments) - - session.auto_start needs to be off/0 + - file_uploads enabled (for attachment upload features) + - session.auto_start disabled + - zend.ze1_compatibility_mode disabled * The PEAR framework with the following packages installed - - MDB2 - - Mail_Mime (1.3.1) - - Net_SMTP (1.2.10) -* PHP compiled with Open SSL to connect to IMAPS and to use the spell checker + - MDB2 (2.4.1) + - Mail_Mime (1.5.2) + - Net_SMTP (1.2.11) +* PHP compiled with OpenSSL to connect to IMAPS and to use the spell checker * A MySQL or PostgreSQL database engine or the SQLite extension for PHP * One of the above databases with permission to create tables * An SMTP server or PHP configured for mail delivery @@ -50,37 +52,27 @@ INSTALLATION DATABASE SETUP ============== -* MySQL 4.0.x -------------- +* MySQL +------- Setting up the mysql database can be done by creating an empty database, importing the table layout and granting the proper permissions to the roundcube user. Here is an example of that procedure: # mysql -> CREATE DATABASE roundcubemail; -> GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost - IDENTIFIED BY 'password'; -> quit -# mysql roundcubemail < SQL/mysql.initial.sql - - -* MySQL 4.1.x/5.x ------------------ -For MySQL version 4.1 and up, it's recommended to create the database for -RoundCube with utf-8 charset. Here's an example of the init procedure: - -# mysql -> CREATE DATABASE roundcubemail DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; +> CREATE DATABASE roundcubemail /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */; > GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost IDENTIFIED BY 'password'; > quit -# mysql roundcubemail < SQL/mysql5.initial.sql +# mysql roundcubemail < SQL/mysql.initial.sql -Note: 'password' is the master password for the roundcube user. It is strongly +Note 1: 'password' is the master password for the roundcube user. It is strongly recommended you replace this with a more secure password. Please keep in mind: You need to specify this password later in 'config/db.inc.php'. +Note 2: For MySQL version 4.1 and up, it's recommended to create the database for +RoundCube with utf-8 charset. + * SQLite -------- @@ -102,7 +94,7 @@ simple steps, which have to be done as the postgres system user (or which ever is the database superuser): $ createuser roundcube -$ createdb -O roundcube roundcubemail +$ createdb -O roundcube -E UNICODE roundcubemail $ psql roundcubemail roundcubemail =# ALTER USER roundcube WITH PASSWORD 'the_new_password';