apache / incubator-pagespeed-cpanel

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

Install is stuck and pagespeed is not working :( #70

Open webtek87 opened 4 years ago

webtek87 commented 4 years ago

I'm trying to install mod_pagespeed for Easyapache4 by following the instructions here: https://github.com/apache/incubator-pagespeed-cpanel

But i'm stuck, as soon as I do this command: rpmbuild --rebuild ea-apache24-mod_pagespeed-latest-stable.src.rpm SSH will just hang on there. It's stuck and nothing happens. http://prntscr.com/tg2gza

When I go to EasyApache in WHM, it says PageSpeed module should already be enabled http://prntscr.com/tg2e48

So I tried editing this file /etc/apache2/conf.d/includes/510_pagespeed.conf and I just added "ModPageSpeed On" Then I restarted Apache in WHM and I got this error: AH00526: Syntax error on line 1 of /etc/apache2/conf.modules.d/510_pagespeed.conf: Jul 11 17:25:47 server.libertaire.net restartsrv_httpd[30744]: Invalid command 'ModPagespeed', perhaps misspelled or defined by a module not included in the server configuration