Purpose

CentOS 6.9 users may have noticed that the default Apache version using yum is 2.2.  For our CentOS 6.9 users that would like to leverage the features of Apache 2.4 we offer the following advice.

Procedure

softwarecollections.org maintains a CentOS rpm for apache 2.4.  The steps that follow will utilize this repository.

https://www.softwarecollections.org/en/scls/rhscl/httpd24/

Step #1

Remove Apache 2.2

yum remove httpd
### move the configuration directory out of the way
mv /etc/httpd /etc/httpd.22

Step #2

Install Software collections from the CentOS SCLo SIG.

yum install centos-release-scl

Step #3

Install Apache 2.4

yum install httpd24

Step #4