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.
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/
Remove Apache 2.2
yum remove httpd ### move the configuration directory out of the way mv /etc/httpd /etc/httpd.22 |
Install Software collections from the CentOS SCLo SIG.
yum install centos-release-scl |
Install Apache 2.4
yum install httpd24 |