In this I will explain how to install apache 2.4 on linux based systems.
First, Check httpd is installed or not
rpm -qa | grep httpd
If httpd on the system
rpm -e httpd
Create a user apache with group apache
# groupadd -g 48 apache
# useradd -u 48 -g 48 -G users -s /bin/nologin -d /dev/null -m apache
Download http source ball
# cd /opt/src
Compile http from tar ball
# tar -zxvf httpd-2.4.3.tar.gz
# tar -zxvf apr-1.4.6.tar.gz
# mv apr-1.4.6 httpd-2.4.3/srclib/apr
# tar -zxvf apr-util-1.4.1.tar.gz
# mv apr-util-1.4.1 httpd-2.4.3/srclib/apr-util