Thursday, December 3, 2009

How To Compile Apache on Linux/Solaris.

Download Source from http://httpd.apache.org/download.cgi

gunzip httpd-2.2.14.tar.gz
tar -xvf httpd-2.2.14.tar
---------------------------------------------------
./configure --prefix=/usr/local/apache2 --with-mpm=worker --disable-cgid --enable-info --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-proxy-balancer --enable-rewrite --enable-headers --enable-cache --enable-mem-cache --enable-disk-cache --enable-expires --enable-mods-shared=all --enable-ssl=shared --with-ssl=/usr/local/ssl

make
make install
------------------------------------------------------
/usr/local/apache2/bin/apachectl restart

Cool,Please let me know, if anything i forgot.;)

2 comments:

Shrikant Lokhande said...

./configure --prefix=/usr/local/apache2 --with-apr=/usr/bin/apr-1-config --with-apr-util=/usr/bin/apu-1-config --enable-cache --enable-disk-cache --enable-mem-cache --enable-file-cache --enable-ssl --with-ssl --enable-deflate --enable-cgid --enable-proxy --enable-proxy-connect --enable-proxy-http --enable-proxy-ftp --enable-rewrite --enable-headers --enable-proxy-balancer --enable-expires --enable-dav-fs --enable-dav --enable-so --enable-unique-id --enable-so --enable-logio

digital certificate said...

Grateful to check out your website, I seem to be ahead to more excellent sites and I wish that you wrote more informative post for us. Well done work.