Installing Apache (http) Web Server from Source code

Apache Web server

Apache Web server

Download  apr, apr-util and pcra
1)Unzip apr-1.2.1 and keep in http folder as /root/httpd-2.4.4/srclib/apr
2)Unzip apr-util-1.2.1 keep in http folder as /root/httpd-2.4.4/srclib/apr-util
3 unzip pcra-1.8.9.zip and keep somewere and  complie  as below

./configure –prefix=/root/httpd-2.4.4/srclib/pcre
make
make install

Goto the root/httpd-2.4.4/ folder and run following commands
#./buildconf
#. ./configure –prefix=/usr/local/apache –with-layout=Apache –enable-modules=most –enable-mods-shared=all –with-mpm=prefork –with-included-apr –with-pcre=/usr/local/pcre/
# make
# make install

Above combination of versions worked well for me

Leave a Reply

Your email address will not be published. Required fields are marked *

*