Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

disable zlib compression

Posted on 2011-02-13
4
Medium Priority
?
1,015 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
While Plesk offers many potential benefits to website administrators, including compatibility with Windows Server and other leading technologies, the company has also been working to differentiate it from other control panels for content management…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
Suggested Courses

916 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