From owner-freebsd-questions Tue Nov 5 8:24: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DE3937B401 for ; Tue, 5 Nov 2002 08:23:59 -0800 (PST) Received: from edo.naviservers.net (edo.naviservers.net [216.242.137.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EB8543E75 for ; Tue, 5 Nov 2002 08:23:59 -0800 (PST) (envelope-from root@edo.naviservers.net) Received: from edo.naviservers.net (localhost.naviservers.net [127.0.0.1]) by edo.naviservers.net (8.12.3/8.12.3) with ESMTP id gA5GOkDN013553 for ; Wed, 6 Nov 2002 01:24:51 +0900 (JST) (envelope-from root@edo.naviservers.net) Received: from localhost (root@localhost) by edo.naviservers.net (8.12.3/8.12.3/Submit) with ESMTP id gA5GORpF013549 for ; Wed, 6 Nov 2002 01:24:33 +0900 (JST) Date: Wed, 6 Nov 2002 01:24:27 +0900 (JST) From: Roger Williams To: Subject: cheat sheet? apache, mod_ssl, mod_php, mysql Message-ID: <20021106012151.N13547-100000@edo.naviservers.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message