Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
5.3k views
in Q2A Core by

[13-Mar-2012 19:09:55] PHP Warning:  ob_start() [<a href='ref.outcontrol'>ref.outcontrol</a>]: output handler 'ob_gzhandler' conflicts with 'zlib output compression' in .../qa-include/qa-index.php on line 158

Today I changed the php.ini of my server to send compressed data:

zlib.output_compression = On
zlib.output_compression_level = 4

Now I have seen that the error.log of my server is full of the php warning above.

To prevent these errors, in qa-config.php you have to change line 149 to:

    define('QA_HTML_COMPRESSION', false);
 

 

Question to the developers:

What is better for gzip: Using QA_HTML_COMPRESSION (php) or zlib ( extension = "zip.so" of Apache)?

Please log in or register to answer this question.

...