apache / incubator-pagespeed-cpanel

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

Compatibility with Apache 2.4.6 #5

Closed GioSensation closed 9 years ago

GioSensation commented 11 years ago

Has anybody tested this on Apache 2.4.6?

I tried to upgrade Apache to 2.4.6 and install the latest version of mod_pagespeed with EasyApache on my WHM/cPanel VPS on Centos 6.4 x86_64, but it failed.

The log reported this error:

Syntax error on line 2 of /usr/local/apache/conf/pagespeed.conf: Cannot load modules/mod_pagespeed.so into server: /usr/local/apache/modules/mod_pagespeed.so: undefined symbol: unixd_config

Switched back to Apache 2.2.25 and it worked fine.

Thanks!

igrigorik commented 11 years ago

This seems to be an issue with CentOS + Apache.. Lots of references to same, error - check out: https://groups.google.com/forum/#!topic/phusion-passenger/tnbcv42PUYc

ghost commented 10 years ago

I am getting a similar problem not being able to upgrade to Apache 2.4.6 because of ModPagespeed. I'm on CentOS WHM/cPanel VPS using EasyApache.

ghost commented 10 years ago

I found these instructions which could help http://tantruminv.com/articles/installing-apache-2-4-6-mod_pagespeed-on-centos-6-4-64-bit/

GioSensation commented 10 years ago

Just to update the thread.

I managed to do it. Upgraded Apache to 2.4.6 without mod_pagespeed and then reinstalled mod_pagespeed from scratch following the instructions here on the repo. Working like a charm for me.

I think the code has been updated to support 2.4.6 not long after this thread was open. I just did not try again until today.

If you are still experiencing problems upgrading to 2.4.6, try updating mod_pagespeed to the latest version via git (or deleting the folder and uploading it again to the server).

If this solves the problem for you too, I will close the issue.