rm1116646
By:
rm1116646

Error - Installing mod_pagespeed on CentOS 6.6

April 20, 2015 2.2k views
Apache Server Optimization CentOS

Hi,

I followed this guide to install modpagespeed on a CentOS 6.6
https://www.digitalocean.com/community/tutorials/how-to-get-started-with-mod
pagespeed-with-apache-on-a-centos-and-fedora-cloud-server

While installing I get this error:
error: Failed dependencies:
httpd >= 2.2 is needed by mod-pagespeed-stable-1.9.32.3-4448.x86_64

Can anyone tell me whats wrong?

I tried to restart the apache server.

Thanks

1 Answer

Oddly, when I run the installer with this:

[root@zenoss-centos ~]# yum -y install at;rpm -Uvh https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm

Then I run this:

service httpd restart; httpd -M |grep page

I get this:

 pagespeed_module (shared)
Syntax OK

Now, I check which HTTPD version I'm running:

[root@zenoss-centos ~]# httpd -v
Server version: Apache/2.2.15 (Unix)
Server built:   Oct 16 2014 14:48:21

Try just running the command I have outlined above:

yum -y install at;rpm -Uvh https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm
Have another answer? Share your knowledge.