webtek87 edited a comment on issue #1696:
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1696#issuecomment-657126472


   I love mod_pagespeed but this is so complicated to install, just guessing 
which conf file to use takes days :(
   
   So I completely disabled cpnginx to remove some noise. Libertaire.net should 
be running only on Apache now. But I still have the same problem if Ii try to 
edit  /etc/apache2/conf.d/includes/pre_main_global.conf  then the server will 
crash and the websites won't load...
   Restarting Apache in WHM returns 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
   `
   So I tried starting over and following the instructions for EasyApache4 
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 and it's stuck
   
   When I go to EasyApache in WHM, it says PageSpeed module should already be 
enabled http://prntscr.com/tg2e48
   
   ```
   root@server [~]# wget 
https://github.com/pagespeed/cpanel/raw/master/EA4/ea-apac                      
                                                   
he24-mod_pagespeed-latest-stable.src.rpm
   --2020-07-11 16:24:07--  
https://github.com/pagespeed/cpanel/raw/master/EA4/ea-a                         
                                                
pache24-mod_pagespeed-latest-stable.src.rpm
   Resolving github.com (github.com)... 140.82.113.4
   Connecting to github.com (github.com)|140.82.113.4|:443... connected.
   HTTP request sent, awaiting response... 301 Moved Permanently
   Location: 
https://github.com/apache/incubator-pagespeed-cpanel/raw/master/EA4/ea          
                                                               
-apache24-mod_pagespeed-latest-stable.src.rpm [following]
   --2020-07-11 16:24:07--  
https://github.com/apache/incubator-pagespeed-cpanel/ra                         
                                                
w/master/EA4/ea-apache24-mod_pagespeed-latest-stable.src.rpm
   Reusing existing connection to github.com:443.
   HTTP request sent, awaiting response... 302 Found
   Location: 
https://raw.githubusercontent.com/apache/incubator-pagespeed-cpanel/ma          
                                                               
ster/EA4/ea-apache24-mod_pagespeed-latest-stable.src.rpm [following]
   --2020-07-11 16:24:07--  
https://raw.githubusercontent.com/apache/incubator-page                         
                                                
speed-cpanel/master/EA4/ea-apache24-mod_pagespeed-latest-stable.src.rpm
   Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 
151.101.0.133                                                                   
      , 151.101.64.133, 151.101.128.133, ...
   Connecting to raw.githubusercontent.com 
(raw.githubusercontent.com)|151.101.0.13                                        
                                 3|:443... connected.
   HTTP request sent, awaiting response... 200 OK
   Length: 5464 (5.3K) [audio/pn-realaudio-plugin]
   Saving to: ‘ea-apache24-mod_pagespeed-latest-stable.src.rpm.2’
   
   100%[======================================>] 5,464       --.-K/s   in 0s
   
   2020-07-11 16:24:07 (91.3 MB/s) - 
‘ea-apache24-mod_pagespeed-latest-stable.src.r                                  
                                       pm.2’ saved [5464/5464]
   
   root@server [~]# rpmbuild --rebuild 
ea-apache24-mod_pagespeed-latest-stable.src.                                    
                                     rpm
   Installing ea-apache24-mod_pagespeed-latest-stable.src.rpm
   warning: bogus date in %changelog: Mon Jun 28 2016 Prajith 
<prajithpalakkuda@gma                                                           
              il.com> - 1.9-3
   Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MiCHlq
   + umask 022
   + cd /root/rpmbuild/BUILD
   + wget -q -N -O mod-pagespeed-stable.rpm 
https://dl-ssl.google.com/dl/linux/dire                                         
                                ct/mod-pagespeed-stable_current_x86_64.rpm
   ```
   
   Trying to use mod_pagespeed with cpanel is soooo frustrating compared to 
Plesk... 
   Using Plesk I just have to copy and paste the directive into Plesk Admin 
Panel and then BOOM everything works in a few seconds. No messing with random 
conf files, no messing with ssh, no server crashing... Here's a screenshot of 
another server with Plesk just to show how easy it is http://prntscr.com/tg1lc5 
... i am surprised WHM is more expensive and has more features, but it's much 
more harder to use than plesk :(


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to