Open In App

How to Check Which Apache Modules are Enabled or Loaded in Linux ?

Last Updated : 29 Jun, 2021
Improve
Improve
Like Article
Like
Save
Share
Report

Apache is designed on the modularity principle, which allows web server operators to install new modules to extend their basic tasks while also improving Apache’s performance.

The Apache HyperText Switch Protocol (HTTP) server has a front end called apcahe2ctl. Its purpose is to assist an administrator with controlling the Apache HTTP daemon’s operation. Use the following command to acquire additional information about apache2 modules –

$ apache2ctl -h

Use the following command to find out which Apache Modules are enabled/loaded in Linux:

$ apache2ctl -M

Enabled/Loaded is another simple approach to acquiring a list of Apache Modules, as seen below —

$ apachectl -t -D DUMP_MODULES

Use the following command to display the list in alphabetical order :-

apachetl -M | sort


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads