Steps to install the mod_pagespeed on EasyApache 4-
2. After that restart Apache service using below command –
3. Now you will need to clone the script in your cPanel server by below command –/usr/local/cpanel/3rdparty/bin/git clone https://github.com/pagespeed/cpanel.git /tmp/pagespeed/
4. Now create Speed.pm.tar.gz – $> cd /tmp/pagespeed/Easy $> tar -zcvf Speed.pm.tar.gz pagespeed $> mkdir -p /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy $> mv Speed.pm Speed.pm.tar.gz -t /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy/ $> cd && rm -rf /tmp/pagespeed
5. For verifying it you can login to WHM >> EasyApache >> Search for mod_pagespeed option.
To Resolve this issue at just 5$ from ServerExpert