

Verify that the correct Apache modules are enabled.

Because of this we recommended that you use one of the above commands instead. The apachectl command still exists, but must be run in the /opt/rh/httpd24 environment. For CentOS/RHEL 7 to use systemd scripts: systemctl restart httpd24-httpd.For CentOS/RHEL 6 to use System V scripts: service httpd24-httpd restart.

To control the version of Apache used by Swarm, use one of the following: This means that the usual service, systemctl, and apachectl commands will control the wrong server. If Apache 2.4 has been installed from the SCL or RHSCL packages, the Apache configuration files are installed into /opt/rh/httpd24/root/etc rather than their normal locations in /etc.
