Google Pagespeed Apache Module EasyApache 4

jazee

Well-Known Member
Jan 12, 2015
119
4
68
cPanel Access Level
Root Administrator
There seems to be scarce information on the proper way to install the Google Pagespeed Module for Apache on WHM/Cpanel via EasyApache 4.

GitHub - pagespeed/cpanel: mod_pagespeed module for CPanel WHM

Second command doesn't work (404 not found). I also searched threads here and someone else pointed it out and there was a reply point to
cpanel/EA4 at master · pagespeed/cpanel · GitHub

There appears to be no "good" set of instructions I can find to install it. This is pretty surprising due to (a) the large installed base of WHM/Cpanel, and (b) the widely acknowledged importance of the Pagespeed Insight tool results which most commonly has a problem render-blocking JavaScript and CSS in above-the-fold content which this module is suppose to help address.

Can anyone point me to a current good set of install instructions for Google Pagespeed Module.

I hope that executing that first command didn't screw anything up.

yum install rpm-build cpio ea-apache24-mod_version
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Hello,

It looks like that's a flaw in their installation documentation. The correct command is:

Code:
wget https://github.com/Prajithp/cPanel_Mod_PageSpeed/blob/master/EA4/ea-apache24-mod_pagespeed-latest-stable.src.rpm
I recommend reviewing the existing issues, and reporting a new one if nessisary. Their issues page is located at:

Issues · pagespeed/cpanel · GitHub

Thank you.
 

abubin

Well-Known Member
Dec 7, 2004
401
3
168
i am trying to install mod_pagespeed as well. But the link provided does not help. Or rather is not detailed enough.

Anyone have successfully install it into EA4 with CentOS 7?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
i am trying to install mod_pagespeed as well. But the link provided does not help. Or rather is not detailed enough.

Anyone have successfully install it into EA4 with CentOS 7?
Hello,

Could you let us know what specific error message you receive, and the specific steps you are taking?

Thank you.