Installing Google PageSpeed Fails, EA4
Hello!
I am having some trouble getting google page speed installed. I have no idea why but it seems some setting somewhere is standing in my way as I have never had an issue installing this and on my local clone of my server, it works fine.
So heres the error I get:
This command is taken directly from Installing From Packages I have changed httpd to show Server Tokens to Full as I thought this was the issue. Ran this command to verify:
As you can see running 2.4.2 which is fully supported but for some odd reason it says I need version 2.2 or higher... Any input is welcome.
$ rpm -U mod-pagespeed-*.rpm
warning: mod-pagespeed-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
error: Failed dependencies:
httpd >= 2.2 is needed by mod-pagespeed-stable-1.11.33.2-0.x86_64
This command is taken directly from Installing From Packages I have changed httpd to show Server Tokens to Full as I thought this was the issue. Ran this command to verify:
$ curl -I localhost
HTTP/1.1 200 OK
Date: Sun, 22 May 2016 06:07:17 GMT
Server: Apache/2.4.20 (cPanel) OpenSSL/1.0.1e-fips mod_bwlimited/1.4
Last-Modified: Wed, 02 Sep 2015 12:21:20 GMT
Accept-Ranges: bytes
Content-Length: 111
Content-Type: text/html
As you can see running 2.4.2 which is fully supported but for some odd reason it says I need version 2.2 or higher... Any input is welcome.
-
Hello, The best and recommended option would be to install mod_pagespeed via EasyApache. Try this : github.com/pagespeed/cpanel 0 -
Hello, The best and recommended option would be to install mod_pagespeed via EasyApache. Try this : github.com/pagespeed/cpanel Hello, I was following the instructions on that page and they were failing as well. I did find an issue logged in this Git that provided these instructions that are successful.
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
Google Page Speed is now running, hope this helps someone else!0 -
Hello, I'm happy to see you were able to address the issue. Thank you for updating us with the outcome. 0 -
I noticed the URL for the mod_pagespeed doesn't exist anymore to download this. ( github.com/Prajithp/cpanel/raw/master/EA4/ea-apache24-mod_pagespeed-1.9-32.11.src.rpm) <---- 404. Do you have another source for this to be downloaded? 0 -
Do you have another source for this to be downloaded?
You can see the list of available files at: cpanel/EA4 at master " pagespeed/cpanel " GitHub Thank you.0 -
error: File must begin with "/": %{_httpd_moddir}/*.so error: File must begin with "/": %{_httpd_modconfdir}/*.conf
Hello, This is reported and discussed on the GitHub for the custom module at: Installation instructions incorrect / missing file " Issue #38 " pagespeed/cpanel " GitHub Please review that page and let us know if the suggested workaround helps. Thank you.0 -
anyone can help. I am trying to install this mod as well but the solutions provided are out of date and does not work anymore. Is cpanel team going to add this mod into ea4? edit: got it working using this tutorial How to install google pagespeed on easyapache 4 - WHM/Cpanel - Smart Tech Tips 0
Please sign in to leave a comment.
Comments
8 comments