apache / incubator-pagespeed-cpanel

mod_pagespeed module for CPanel WHM
Other
144 stars 50 forks source link

Pagespeed 1.9.32.14 for cPanel? #44

Open daniellee-dp opened 8 years ago

daniellee-dp commented 8 years ago

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

nbwpuk commented 8 years ago

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

ILMostro commented 8 years ago

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?

daniellee-dp commented 8 years ago

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.

Prajithp commented 8 years ago

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