Help Docs Server Administration Linux Server Administration Apache Web Server List Which Apache 2 Modules are Enabled on CentOS 7

List Which Apache 2 Modules are Enabled on CentOS 7

Need to know what Apache modules are installed on your CentOS 7 server? Utilize this one command to see which modules are enabled in your Apache 2 instance.

The Apache web server is one of the most popular and powerful web servers in the world due to its ease of administration and flexibility. This flexibility comes Apache’s modular design, and allows for such features as: URL rewriting for SSL encryption natively, and Outlook Anywhere passthrough support in reverse proxy setups. Modularity allows Administrators to modify Apache to meet their needs; adding modules that are needed and removing ones that are not. Here we’ll be working with Apache on CentOS 7.

Pre-Flight Check
  • These instructions are intended specifically for viewing which Apache modules are enabled on CentOS.
  • I’ll be working from a Liquid Web Core Managed CentOS 7 server with Apache 2 installed, and I’ll be logged in as root.
View Loaded Apache Modules

Just one command:

apachectl -M

Or, if you want to view the list in alphabetical order:

apachectl -M | sort

Was this article helpful?