Solved

disable zlib compression

Posted on 2011-02-13
4
845 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
This article discusses how to implement server side field validation and display customized error messages to the client.
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ā€¦
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

739 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