Skip to main content

gzip enabled but not working

Comments

3 comments

  • Tearabite
    Subscribing because i have a similar issue.
    0
  • Gojko
    Well, after 2days searching solution i found this Compression not working and this in php.ini .user.ini
    output_handler = Off zlib.output_compression = On zlib.output_handler = ob_gzhandler
    solve the problem i don't know why extra code is needed to work but it work, if someone from cpanel support saw this thread can answer why this bug is not fixed or something like that
    0
  • cPanelMichael
    solve the problem i don't know why extra code is needed to work but it work, if someone from cpanel support saw this thread can answer why this bug is not fixed or something like that

    Hello, That's the normal behavior, as PHP compression is enabled separately from mod_deflate. cPanel version 68 will add the zlib.output_compression option to the MultiPHP INI Editor feature in cPanel and WHM. Additionally, a note in the "Optimize Website" feature within cPanel will direct users on how to enable the zlib.output_compression option for PHP to help clarify this point. Thank you.
    0

Please sign in to leave a comment.