fbpx

Uninstall mod_pagespeed

Login to SSH and go to /var/www (a preventive measure so that you do not run any wrong command without mentioning the path, which is not related to these commands. i.e. chown, chgrp etc.)

Vim

# disable the working symlinked stuffs
sudo a2dismod pagespeed
sudo service apache2 restart

# turn off
nano /etc/apache2/mods-available/pagespeed.conf

# edit to off from on and save
sudo service apache2 restart

# will work for the most
sudo apt-get autoremove mod-pagespeed-stable

# will work for some
sudo apt-get autoremove mod-pagespeed-beta

# must restart Apache
service apache2 restart

# disable the working symlinked stuffs
sudo a2dismod pagespeed
sudo service apache2 restart

# turn off
nano /etc/apache2/mods-available/pagespeed.conf

# edit to off from on and save
sudo service apache2 restart

# will work for the most
sudo apt-get autoremove mod-pagespeed-stable

# will work for some
sudo apt-get autoremove mod-pagespeed-beta

# must restart Apache
service apache2 restart
You are probably thinking that, all is done! No, we need to remove the cache folder :
rm -fr /var/cache/mod_pagespeed

# check the path, restart apache2
service apache2 restart

rm -fr /var/cache/mod_pagespeed

# check the path, restart apache2
service apache2 restart

Removing Modules from etc/apache2/mods-available/can be a pain. We will suggest to build a new server than trying this and that unless you are an UNIX administrator.

Dit bericht is gepost in Linux. Bookmark de link.

Geef een reactie

Je e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *