Solved

disable zlib compression

Posted on 2011-02-13
4
796 Views
Last Modified: 2012-08-14
How do I set the zlib compression off so that w3 total cache functions properly
0
Comment
Question by:mobear410
4 Comments
 
LVL 2

Accepted Solution

by:
CayComm earned 500 total points
ID: 34884864
You should be able to disable zlib buffering via a .htaccess file in the same or some parent directory of the script being executed.  The file should contain the line listed below.  You must disable zlib before your script is called for execution either by changing the php.ini file or using the .htaccess solution suggested here. The ini_set() PHP command will not work to disable zlib because zlib is already active before ini_set() is seen by PHP. Changing the php.ini file will affect all sites on the server.

You can find more information here... http://php.net/manual/en/configuration.changes.php

php_flag zlib.output_compression off

Open in new window

0
 

Author Comment

by:mobear410
ID: 34892803
would I need to do any sort of recompiling using this command?  is this command line for the .htaccess or the php.ini change?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36508808
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This article discusses how to create an extensible mechanism for linked drop downs.
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question