A few packages are required for the Horde suite to function:
To get the full benefits, you really should include: There are a few databases other than MySQL that will work, but only MySQL is covered here. There is information about using Apache and mod_ssl here.Start by installing MySQL. Installation of MySQL is very straight forward.
Use the INSTALL-SOURCE
for instructions. It uses the standard
GNU Autoconf configure script. Setting your favorite options followed by a
make
and make install
is probably acceptable.
You need to compile PHP with IMAP support, so you'll want the
UW IMAP daemon. Compile it for
your platform as per its instructions. You'll then want to create two
symlinks in it's root directory. One named include
and one
named lib
, both pointed to c-client
. This is to
make PHP happy during it's configuration.
Version Note: If you are not already running PHP3, it has been recommended that you start now with PHP4. Future versions of the Horde suite will be using PHP4 and starting with it now will make upgrading easier.
PHP is a pretty straight forward install. You'll need to compile it with
IMAP, your database, and either use apxs
or compile it into
Apache. PHP's documentation is straight forward on this as well. I highly
recommend using apxs, it makes life easier as you need not recompile your
server. Here's a few options of interest:
--with-apxs=<path/to/apache/bin>/apxs
Uses apxs (APache eXtenSion tool) to install PHP as a DSO (Dynamic Shared Object). DSO is supported on most platforms, certainly all the popular ones. If you don't have DSO support, I highly recommend recompiling Apache with it.
--with-imap=<path/to/compiled/imap/sources>
Adds imap support, which is sorta the whole reason for IMP.
--disable-debug
Self-explanatory (and a good idea - required to use the Zend Optimizer.)
--with-mysql=<path/to/mysql/install>
Adds MySQL support, similar options exist for other databases.
After you install PHP, you'll want to uncomment the appropriate
AddType
lines in your httpd.conf
. If you are
running PHP4, make sure that .php3
is associated with
application/x-httpd-php
.