Server Management

Wednesday, November 02, 2005

INSTALLING APACHE 1.3..34 + mod_ssl + php 4.4.1

# cd /usr/local/src/
# mkdir apache1.3.34
# wget http://apache.mirrors.redwire.net/httpd/apache_1.3.34.tar.gz
# tar -xvzf apache_1.3.34.tar.gz
# wget http://in2.php.net/get/php-4.4.1.tar.gz/from/us2.php.net/mirror
# cd apache1.3.34/
# wget http://www.modssl.org/source/mod_ssl-2.8.25-1.3.34.tar.gz
# tar -xvzf apache_1.3.x.tar.gz
# tar -xvzf openssl-0.9.7i.tar.gz
# cd openssl-0.9.7i
# sh config no-idea no-threads -fPIC
# make depend
# make
# make install
# cd ..
# tar -xvzf mod_ssl-2.8.25-1.3.34.tar.gz
# ./configure --with-apache=../apache_1.3.34 --with-ssl=../openssl-0.9.7i
# cd ../apache_1.3.34
# ./configure --enable-module=so --enable-module=ssl --enable-module=rewrite --enable-module=expires

--prefix=/usr/local/apache1.3.34
# make
# make certificate
# make install
# tar -xvzf php-4.4.1.tar.gz
# cd php-4.4.1
# ./configure --with-apxs=/usr/local/apache1.3.34/bin/apxs --with-zlib --enable-dba --with-gdbm --with-db4

--prefix=/usr/local/apache1.3.34/php
# make
# make install