apache2uninstallationapache2-module

How can I uninstall an apache2 module?


It looks like I installed the wrong version of the module using apxs2.

Once it's disabled (a2dismod), how do I remove it so I can install the correct version?

Seems elementary, yet...somehow...I'm finding nothing on Google, IRC, etc.


Solution

  • It's so simple nobody has written it down yet. You just remove the .so file from /usr/lib/apache2/modules/.

    And if you want to be thorough, remove anything that might be in: /usr/share/doc/module-name