Apache – How to List Enabled Modules

apache-2.2httplinuxweb-server

Is there a command that list all enabled Apache modules?

Best Answer

To list apache loaded modules use:

apachectl -M

or:

apachectl -t -D DUMP_MODULES 

or on RHEL,CentoS, Fedora:

httpd -M

For more options man apachectl. All these answers can be found just by little google search.