[ACCEPTED]-How can I uninstall an apache2 module?-apache2-module

Accepted answer
Score: 15

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

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

Score: 3

For some modules on Ubuntu you can use apt-get.

To 2 find the installed module sudo dpkg -l | grep apache. To remove sudo apt-get purge {module_name}.

For 1 example:

sudo apt-get purge libapache2-mod-php7.0  libapache2-mod-php5
Score: 0

The apache modules can be found in /usr/lib64/apache2 or /usr/lib64/httpd


More Related questions