Installing mod_pagespeed on Cpanel Server

Download rpm from google developer website.

Next command need to be with some care

First write

Then press tab, it will automatically write your apache version installed, like

Then write remaining to complete command

Create a file named modpagespeed.conf

Include pagespeed.conf in /usr/local/apache/conf/includes/pre_main_global.conf

Now rebuild apache configuration and restart apache

To test that mod_pagespeed is enabled, run following in your local server


It should return


You can also go to Google speed test page to confirm pagespeed is enabled


Congrats ! you have now enabled mod_pagespeed on your cpanel server.

Please follow and like us:
Follow by Email

Comment Policy:

Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

Tell us what you're thinking...

All comments are moderated.

* Denotes required field.



Previous Post:
Next Post: