Many times we feel the need to see theĀ enabled modules in Apache and we think which is fast way to see whether the required modules are enabled in Apache or not, so here is the trick for you guys to know the enabled modules in Apache. Below si the command to be run on terminal to get the list of enabled modules in Apache.
Go to the terminal and write:
apache2ctl -M
This will list all the enabled modules in your Apache and also tell you whether they are shared or not.
Hope this will save some one’s time struggling with Apache enabled modules.