Downloading and compiling Apache 2.4.3
# cd /usr/local/src/# wget http://mirrors.issp.co.th/apache//httpd/httpd-2.4.3.tar.bz2
# tar -jxf httpd-2.4.3.tar.bz2
# cd httpd-2.4.3
Installing APR & APR-Utils dependencies :
# cd /usr/local/src/httpd-2.4.3/srclib/# wget http://mirrors.issp.co.th/apache//apr/apr-1.4.6.tar.bz2
# wget http://mirrors.issp.co.th/apache//apr/apr-util-1.5.1.tar.bz2
# tar -jxf apr-1.4.6.tar.bz2
# tar -jxf apr-util-1.5.1.tar.bz2
# mv apr-1.4.6 apr
# mv apr-util-1.5.1 apr-util
Installing PCRE:
# cd /usr/local/src/
# wget http://sourceforge.net/projects/pcre/files/pcre/8.31/pcre-8.31.tar.bz2/download
cd /usr/local/src/httpd-2.4.3/
./configure --prefix=/usr/local/apache --enable-so --enable-ssl --enable-deflate --enable-proxy --enable-proxy-ajp --enable-proxy-balancer --enable-expires --enable-headers --enable-rewrite --with-included-apr --with-included-apr-util
make
make install
# tar -jxf pcre-8.31.tar.bz2
# cd pcre-8.31
# ./configure --enable-utf8 --enable-unicode-properties
# make
# make install
# make install
Configure it :
cd /usr/local/src/httpd-2.4.3/
./configure --prefix=/usr/local/apache --enable-so --enable-ssl --enable-deflate --enable-proxy --enable-proxy-ajp --enable-proxy-balancer --enable-expires --enable-headers --enable-rewrite --with-included-apr --with-included-apr-util
make
make install