<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kb.acenet.us/index.php?action=history&amp;feed=atom&amp;title=Install_mod_pagespeed_for_cPanel_EA4</id>
	<title>Install mod pagespeed for cPanel EA4 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kb.acenet.us/index.php?action=history&amp;feed=atom&amp;title=Install_mod_pagespeed_for_cPanel_EA4"/>
	<link rel="alternate" type="text/html" href="https://kb.acenet.us/index.php?title=Install_mod_pagespeed_for_cPanel_EA4&amp;action=history"/>
	<updated>2026-06-30T04:23:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://kb.acenet.us/index.php?title=Install_mod_pagespeed_for_cPanel_EA4&amp;diff=2241&amp;oldid=prev</id>
		<title>Docs admin: Docs admin moved page Install PageSpeed for cPanel EA4 to Install mod pagespeed for cPanel EA4 without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://kb.acenet.us/index.php?title=Install_mod_pagespeed_for_cPanel_EA4&amp;diff=2241&amp;oldid=prev"/>
		<updated>2018-01-12T02:09:05Z</updated>

		<summary type="html">&lt;p&gt;Docs admin moved page &lt;a href=&quot;/index.php?title=Install_PageSpeed_for_cPanel_EA4&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Install PageSpeed for cPanel EA4 (page does not exist)&quot;&gt;Install PageSpeed for cPanel EA4&lt;/a&gt; to &lt;a href=&quot;/Install_mod_pagespeed_for_cPanel_EA4&quot; title=&quot;Install mod pagespeed for cPanel EA4&quot;&gt;Install mod pagespeed for cPanel EA4&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:09, 11 January 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Docs admin</name></author>
	</entry>
	<entry>
		<id>https://kb.acenet.us/index.php?title=Install_mod_pagespeed_for_cPanel_EA4&amp;diff=2240&amp;oldid=prev</id>
		<title>Docs admin: Installing Mod_PageSpeed for EasyApache 4 / Apache 2,4</title>
		<link rel="alternate" type="text/html" href="https://kb.acenet.us/index.php?title=Install_mod_pagespeed_for_cPanel_EA4&amp;diff=2240&amp;oldid=prev"/>
		<updated>2018-01-12T02:08:15Z</updated>

		<summary type="html">&lt;p&gt;Installing Mod_PageSpeed for EasyApache 4 / Apache 2,4&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===How to install mod_pagespeed on a cPanel server running EasyApache 4===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enter the following command to edit a new macro file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
nano /etc/rpm/macros.apache2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Within this file, copy and paste the following 8 lines to the file, and save.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
%_httpd_mmn 20120211x8664&lt;br /&gt;
%_httpd_apxs /usr/bin/apxs&lt;br /&gt;
%_httpd_dir /etc/apache2&lt;br /&gt;
%_httpd_bindir %{_httpd_dir}/bin&lt;br /&gt;
%_httpd_modconfdir %{_httpd_dir}/conf.modules.d&lt;br /&gt;
%_httpd_confdir %{_httpd_dir}/conf.d&lt;br /&gt;
%_httpd_contentdir /usr/share/apache2&lt;br /&gt;
%_httpd_moddir /usr/lib64/apache2/modules&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, run the following commands to build the apache module and add to EasyApache 4.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
yum install rpm-build cpio ea-apache24-mod_version&lt;br /&gt;
wget https://github.com/pagespeed/cpanel/raw/master/EA4/ea-apache24-mod_pagespeed-latest-stable.src.rpm&lt;br /&gt;
rpmbuild --rebuild ea-apache24-mod_pagespeed-latest-stable.src.rpm&lt;br /&gt;
rpm -ivh /root/rpmbuild/RPMS/x86_64/ea-apache24-mod_pagespeed*.rpm&lt;br /&gt;
/etc/init.d/httpd restart&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mod_pagespeed should now be installed, and you can verify this by running EasyApache 4 and checking the apache module section for it.&lt;/div&gt;</summary>
		<author><name>Docs admin</name></author>
	</entry>
</feed>