httpd >= 2.2 is needed by mod-pagespeed?

3,544 views
Skip to first unread message

katie

unread,
Nov 14, 2010, 1:47:37 PM11/14/10
to mod-pagespeed-discuss
Hi,

I'm trying to install mod_pagespeed, and I'm getting the following
error:

httpd >= 2.2 is needed by mod-pagespeed-beta-0.9.1.1-171.x86_64

However, my version of Apache IS greater than 2.2, here's the output:

# /usr/local/apache/bin/httpd -v
Server version: Apache/2.2.15 (Unix)
Server built: Mar 29 2010 15:46:15
Cpanel::Easy::Apache v3.2.0 rev5041

Thanks for any ideas anyone has. (:

Katie

Bryan McQuade

unread,
Nov 14, 2010, 7:23:36 PM11/14/10
to mod-pagesp...@googlegroups.com
Hi Katie,

Based on the apache path, it looks like you installed Apache httpd
from source (or via a cpanel-compiled source installation), as opposed
to using the httpd package for your system (are you on centos?).

Since your installation of Apache httpd is not from the system's
package manager, the mod_pagespeed RPM package won't work for your
system without some work. It will install mod_pagespeed into the wrong
location. So the warning you are getting is perhaps not giving you all
the information it could, but it's helping to prevent you from
installing mod_pagespeed on your system where it wouldn't otherwise
work. We will update our docs to make this clearer.

When you have an Apache httpd install that isn't package-managed, the
easiest way to install mod_pagespeed is to compile it yourself from
source.

There are instructions on how to do that here:
http://code.google.com/p/modpagespeed/wiki/HowToBuild

Once you have it compiled, you can try to use the install_apxs.sh
script to actually install the module on your system. install_apxs.sh
is also documented in the HowToBuild wiki page.

Please let us know if you encounter any issues building or installing. Thanks!

Reply all
Reply to author
Forward
0 new messages