Skip to main content

"Optimize Website" (mod_deflate) refuses to enable (no error)

Comments

7 comments

  • cPanelMichael
    Hello @jcwacky, This is discussed on the following thread: Compression not working The temporary workaround is to add "zlib.output_compression = On" via "Editor Mode" in the INI Editor option in cPanel: MultiPHP INI Editor for cPanel - Documentation - cPanel Documentation Thank you.
    0
  • jcwacky
    Thanks, but I don't believe that's the same issue. For me, it won't insert the .htaccess content and despite saying it's enabled, when you go back, it says it's still disabled. I did try that PHP INI update, but it hasn't resolved this issue.
    0
  • cPanelMichael
    Hello, Do you notice any error messages in /usr/local/cpanel/logs/error_log when attempting to enable the option? Thank you.
    0
  • jcwacky
    Nope, no errors appear in /usr/local/cpanel/logs/error_log, the only file that updates in that directory when attempting to enable Optimisation is access_log.
    0
  • cPanelMichael
    Hello, Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • jcwacky
    I had buycpanel.com support get to the bottom of this. In case anyone else experiences the same issue, it seemed to be caused by file permissions of mod_pagespeed: The issue here is that your file /etc/apache2/conf.modules.d/456_pagespeed.conf had incorrect file permissions causing the process to fail when it tried to read this file. The file permissions were set to 640, but since this process runs as the cPanel user, the file permissions need to be 644 like all the other configuration files in this directory.
    0
  • cPanelMichael
    Hello, I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.