You'll need the Horde and IMP packages. Using the CVS version is what I'd recommend, as it makes updating very easy. However, there are tarballs available if you don't want to deal with CVS. The latest Horde tarball is here. The latest IMP tarball is here.
If you don't already have CVS installed, you can get it
here. Set CVSROOT
to ":pserver:cvsread@cvs.horde.org:/cvs/horde"
.
cvs loginLogin password is
horde
.
cvs co -r STABLE_1_2 horde cd horde cvs co -r STABLE_2_2 imp
The database is used for session management and storage of user preferences and address books. If you want to drop support for preferences and address books, you can switch to shared memory or a dbm file for session management. This removes the need for a database.
This assumes MySQL, see thehorde/docs/DATABASE
file for information on other databases.
You'll want to create the hordemgr
user and horde
database. The easiest way to do this is with the script at
horde/scripts/database/mysql_create.sql
.
mysql -u root -p < mysql_create.sqlThis will create the hordemgr user with no access to the mysql database and full access to the horde database and can only access from localhost. The default password is hordemgr. The easiest way to change that is in the script before you run it.
Don't forget to do a mysqladmin -u root -p reload
to activate
your changes.
PHPLIB used to be a seperate component, but the needed parts are now integrated. Yeah!
You'll need to edit horde/phplib/local.inc
for your environment. Uncomment
the SQL section if you are using a database. The DBM or shared memory
sections if not. In the SQL section set the User
and
Password
variables to hordemgr
. (Don't forget to
use the password you set earlier if you changed it from the default.)
The developers are working towards dropping the need for PHPLIB, as it's only used for session support and PHP4 includes that.
You probably want to set up the horde directory as the document root, adding
an Alias
for /horde
to the horde directory. You
can put a redirect in to automatically head to IMP. Currently IMP and Horde
don't like IMP being the document root. You'll need to add some PHP commands
to the Directory
statement for the horde directory.
php3_include_path /path/to/horde/php php3_auto_prepend_file /path/to/horde/php/prepend.php3 php3_magic_quotes_gpc Off php3_track_vars OnFor PHP4:
php_value include_path /path/to/horde/php php_value auto_prepend_file /path/to/horde/php/prepend.php3 php_flag magic_quotes_gpc Off php_flag track_vars OnBack to main page