• Resolved Leiif

    (@leiif)


    I am getting the error at install saying:

    “Either the PHP configuration, Web Server configuration or a script somewhere in your WordPress installation is has set zlib.output_compression to enabled. Please locate and disable this setting to ensure proper HTTP compression management.”

    The thing is I did an ftp search on the individual site and the complete public_html section of my hosting and came up with no results. I sent a support ticket but would imagine others are getting the same error. Where do I find this compression setting?

    Best,
    Leiif

Viewing 15 replies - 16 through 30 (of 34 total)
  • Thread Starter Leiif

    (@leiif)

    Having the same issue again myself. Does anyone know how to search your whole installation to try and find the problem? My host is namecheap and they use cpanel. Namecheap is good for domains but has no telephone support for hosting.

    Thread Starter Leiif

    (@leiif)

    Thread Starter Leiif

    (@leiif)

    still working on it

    I appreciate your posts. I still haven’t resolved the issue either.

    Thread Starter Leiif

    (@leiif)

    I have a solution. I will organize it so you can understand it and post back in a bit.

    Thread Starter Leiif

    (@leiif)

    First and foremost do NOT ever push the button in cpanel that says “optimize my website”. It, I believe, is how I messed up my site this time. The button is the one near the lower right in this image:

    https://img683.imageshack.us/f/snap20110417111613.gif/

    It took me 3 hours with the first “live-chat” tech. That was 3 hours that got nowhere. The error looks like this:

    https://img402.imageshack.us/f/snap20110417105848.gif/

    Then I went to the ticket system to try and get a better tech for assistance. After creating a new user and giving access to my site I got this message:

    [code]
    Hello,
    I have fixed the php.ini file and have copied this one to wp-folders.
    And now I do not see any warnings regarding zlib compression.

    --
    Regards,
    Yuriy P.
    Technical Support Team
    [/code]

    Since that didn’t tell me what he did I asked and here is what he did. Copy the following (between dashed lines):

    ———————————————————

    ; any text on a line after an unquoted semicolon (;) is ignored
    [php] ; section markers (text within square brackets) are also ignored
    ; Boolean values can be set to either:
    ; true, on, yes
    ; or false, off, no, none
    register_globals = off
    track_errors = yes

    zlib.output_compression = off

    ———————————————————
    Take that string and overwrite your php.ini files in the following wp folders – (/wp-admin/php.ini) – (/wp-content/php.ini) – (/wp-includes/php.ini)

    If you don’t have php.ini files there make them by adding a file in your cpanel file manager.

    I hope that helps and let me know if it works out. No sense spending those hours just for me.

    Best,
    Leiif

    I had pressed the same optimize website button around 36 hrs back and i did not come up with any errors. Also even though i was used W3 total cache from quite sometime now, my web page loading was 4+sec (only faster than 4% websites). Now my website is loading in less than a second according to loadimpact.com. I am not sure but probably the problem was, I was using database caching and object caching which are not recommended in shared hosting. I disabled it. Something clicked to reduce the load time so much. I don’t know what but i am happy.

    Shakir

    Thread Starter Leiif

    (@leiif)

    Hi shakircontractor,

    Maybe it wasn’t that that caused the trouble. But I did do that the same day the issue started. Having the files in place seemed to fix it. Maybe now it would be ok to optimize the site.

    My php.ini file says this:
    [PHP]
    zlib.output_compression = Off
    zlib.output_compression_level = 0
    auto_prepend_file = “pre.php”
    short_open_tag = 0

    Yet I am still getting this message in my W# Total Cache settings:
    Either the PHP configuration, Web Server configuration or a script somewhere in your WordPress installation is has set zlib.output_compression to enabled.
    Please locate and disable this setting to ensure proper HTTP compression management.

    My page load time is still pretty slow too. Even with your directions I still don’t understand what I need to do. The tech support at my host server doesn’t know what to do either. Leiif, can I get some more assistance?

    Thread Starter Leiif

    (@leiif)

    Did you check the 3 files in your WP install? Read the above post carefully and do what the tech guy did on my site. Copy the php.ini contents I posted exactly and put it in the php.ini in those 3 files and then check.

    Everything between the dashed lines is what is in the php.ini files in those 3 places.

    Thread Starter Leiif

    (@leiif)

    Also if you are worried you might break something (doesn’t work now anyway) copy what you already have and save it in a notepad first.

    I just tried deleting my php.ini and pasting in the script from above.I’m still getting the message saying that I need to disable my zlib.output_compression. Also my site load super slow now. I’m going to put the old script back in my php.ini.
    I’ll keep messing with it and let you know if I figure out whats wrong.
    Thanks for your advice!

    Thread Starter Leiif

    (@leiif)

    Did you put it in all 3 folders?

    /wp-admin/ – /wp-content/ – /wp-includes/

    Thread Starter Leiif

    (@leiif)

    /wp-admin/ – /wp-content/ – /wp-includes/

    Thread Starter Leiif

    (@leiif)

    php.ini is not only located in the root folder and may be over-ridden by another php.ini in a different folder. Check those 3 folders and the main one.

Viewing 15 replies - 16 through 30 (of 34 total)
  • The topic ‘[Plugin: W3 Total Cache] zlib.output_compression’ is closed to new replies.