[imp] IMP and Apache/SSL

Chris Crowley ccrowley@tulane.edu
Fri, 16 Mar 2001 08:16:25 -0600


> (or even just some scribbles!) about how they did it all, or point to

These really are just my notes.
Don't follow them exactly. They are not complete.
I added a few comments using
/*
Comment
*/
syntax.


/********************************
Apache + php w/ imap + ldap + mod_ssl *
 for webmail (horde 1.2.2 / imp 2.2.2)      *
*********************************/
cd /your_sourcedir/sources/apache_build_directory
/*
ls should show that you have some of these directories:
apache_1.3.14         mod_ssl-2.7.1-1.3.14
mm-1.1.3              openssl-0.9.6         php-4.0.4pl1          rsaref-2.0
*/

cd rsaref*
/* follow instructins in ./doc/readme.txt */

cd openldap*

env LIBS="-lpthread -lposix4" ./configure
make depend
make
cd tests
make
cd ..
make install

cd /mod_ssl*
/* you will need to have configured apache once previously. */
./configure \
--with-apache=../apache_1.3.12 \

cd ../php*

CPPFLAGS='-O2 -I/opt/sources/apache_1.3.12/openssl-0.9.3a/include -I/usr/loc
al/include'
 LDFLAGS='-L/usr/local/lib'\
./configure \
--with-apache=../apache_1.3.12 \
--with-mysql=/usr/local/mysql \
--with-imap \
--with-ldap \
--enable-memory-limit=yes \
--enable-debug=no


cd ../apac*

SSL_BASE=../openssl-0.9.6 \
RSA_BASE=../rsaref-2.0/local \
EAPI_MM=../mm-1.1.3 \
./configure \
--prefix=/usr/local/apache \  /* ENTER YOUR DESTINATION PATH */
--enable-module=so \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4 \
--enable-module=ssl \
--disable-rule=SSL_COMPAT