How to uninstall an apache module

To uninstall an appache module run these commands from your terminal:

# a2dismod <module_name>

if the module was previously enabled, remove the .conf and .load files from ‘/etc/apache2/mod-available/’.


# sudo rm /etc/apache2/mods-available/<module_name.conf>
# sudo rm /etc/apache2/mods-available/<module_name.load>

Then restart apache:

# sudo service apache2 restart

About Matthias 33 Articles
I am a Software Engineer from Houston, TX who love to write codes that brings great ideas to live. In my professional life, I have created software for different industries including Oil & Gas, Finance, Service Provider, Cloud Computing and Embedded Systems. When not writting codes, i enjoy travelling, good music and photography. You can reach me at

Be the first to comment

Leave a Reply

Your email address will not be published.