incubator-pagespeed-cpanel icon indicating copy to clipboard operation
incubator-pagespeed-cpanel copied to clipboard

Pagespeed 1.9.32.14 for cPanel?

Open daniellee-dp opened this issue 8 years ago • 4 comments

Is there an update of the Pagespeed cPanel module? How can cPanel users update to the 1.9.32.14 security release?

daniellee-dp avatar Apr 07 '16 03:04 daniellee-dp

I had the same issue last night and found that running easyapache will update this during it's scripts.

nbwpuk avatar Apr 07 '16 06:04 nbwpuk

Are you talking about another "module" for cPanel software, as opposed to "mod_pagespeed" for apache running on a cPanel server?

If so, where would you check for that different module, version, etc?

ILMostro avatar Apr 07 '16 17:04 ILMostro

Hello,

No, I am referring to the to "mod_pagespeed" for Apache, running on cPanel server :) My question was related to how the upgrade of Pagespeed goes in this case. @BatchHeader is absolutely correct, running EasyApache will fix that.

daniellee-dp avatar Apr 07 '16 18:04 daniellee-dp

If are using EA3, then you need to run easyapache to upgrade the Pagespeed module to latest version.

For EA4, please follow the steps below to upgrade the same.

  1. Create a file called '/etc/rpm/macros.apache2' and paste the below contents into that.
%_httpd_mmn 20120211x8664
%_httpd_apxs /usr/bin/apxs
%_httpd_dir /etc/apache2
%_httpd_bindir %{_httpd_dir}/bin
%_httpd_modconfdir %{_httpd_dir}/conf.modules.d
%_httpd_confdir %{_httpd_dir}/conf.d
%_httpd_contentdir /usr/share/apache2
%_httpd_moddir /usr/lib64/apache2/modules

then,

$>  rm -rf /root/rpmbuild/RPMS/x86_64/
$> wget https://github.com/pagespeed/cpanel/raw/master/EA4/ea-apache24-mod_pagespeed-latest-stable.src.rpm
$> rpmbuild --rebuild ea-apache24-mod_pagespeed-latest-stable.src.rpm
$> rpm -Uvh /root/rpmbuild/RPMS/x86_64/ea-apache24-mod_pagespeed*.rpm
$> /etc/init.d/httpd restart

Prajithp avatar Apr 10 '16 14:04 Prajithp