Skip to main content

pagespeed module goes back to default after EasyApache update on cPanel server

Comments

6 comments

  • cPanelMichael
    Hello, Could you let us know the specific steps you have taken to enable this module? Thank you.
    0
  • Alya
    Hello, Could you let us know the specific steps you have taken to enable this module? Thank you.

    I'm installing it this way: I'm using EasyApache3.
      ]
    • Clone the installation scripts onto your CPanel server:
    $> /usr/local/cpanel/3rdparty/bin/git clone https://github.com/pagespeed/cpanel.git /tmp/pagespeed/
      ]
    • Create Speed.pm.tar.gz
    $> cd /tmp/pagespeed/Easy $> tar -zcvf Speed.pm.tar.gz pagespeed $> mkdir -p /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy $> mv Speed.pm Speed.pm.tar.gz -t /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy/ $> cd && rm -rf /tmp/pagespeed
      ]
    • Login into your cPanel WHM > EasyApache and look for "mod_pagespeed" option. Alternatively, you can run the easyapache installer from command line (/scripts/easyapache). Rebuild the Apache server, reboot it, and you're good to go!

    Then, I just editing /usr/local/apache/conf/pagespeed.conf Every time I update easyapche, pagespeed.conf resets to default one.
    0
  • rpvw
    I am not sure this doesn't just refer to EA4, but is this what you are looking for ? Taken from:
    0
  • cPanelMichael
    Hello, Yes, as mentioned, you can follow the instructions on the following page to ensure those modifications are enabled each time you run EasyApache: Easyapache overwrites pagespeed.conf " Issue #24 " pagespeed/cpanel " GitHub Thank you.
    0
  • Alya
    @rpvw, @cPanelMichael Thanks a lot! Your suggestions really helped! Much appreciated.
    0
  • cPanelMichael
    I'm happy to see the information helped. Thank you for updating this thread with the outcome.
    0

Please sign in to leave a comment.