Date: Wed, 6 Nov 2002 01:24:27 +0900 (JST) From: Roger Williams <root@edo.naviservers.net> To: <freebsd-questions@freebsd.org> Subject: cheat sheet? apache, mod_ssl, mod_php, mysql Message-ID: <20021106012151.N13547-100000@edo.naviservers.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021106012151.N13547-100000>