Below is what I use. You might need to change some of the dirs and
the version #s of the tarballs, but it is almost a copy and past operation
with this.
Roger
$ gzip -d -c apache_1.3.x.tar.gz | tar xvf -
$ gzip -d -c mod_ssl-2.8.x-1.3.x.tar.gz | tar xvf -
$ gzip -d -c php-4.1.x.tar.gz | tar xvf -
$ gzip -d -c openssl-x-x.tar.gz | tar xvf -
# apply mod_ssl to Apache source tree
$ cd mod_ssl-2.8.x-1.3.x
$ ./configure --with-apache=../apache_1.3.x
$ cd ..
#configure openssl
$ cd openssl-x.x
$ ./config --prefix=/usr/local --openssldir=/usr/local/openssl
$ make
$ make install
$cd ..
# pre-configure Apache for PHP4's configure step
$ cd apache_1.3.x
$ ./configure --prefix=/var/www.ssl
$ cd ..
# configure PHP4 and apply it to the Apache source tree
$ cd /php-4.0.x
$ CFLAGS='-O2 -I../openssl-0.9.x/include' \
./configure --with-mysql=/usr/local/mysql
--with-apache=../apache_1.3.x --enable-track-vars
$ make
$ make install
$ cd ..
# build/install Apache with mod_ssl and mod_perl
$ cd apache_1.3.x
$ SSL_BASE=../openssl-0.9.x \
./configure \
--prefix=/var/www.ssl \
--enable-module=ssl \
--enable-suexec \
--suexec-userdir=secure_html \
--suexec-docroot=/var/www.ssl/htdocs \
--with-perl=/usr/bin/perl\
--activate-module=src/modules/php4/libphp4.a\
--add-module=src/modules/standard/mod_so.c\
$ make
$ make certificate
$ make install
$ cd ..
# cleanup after work
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message