Welcome Guest, Not a member yet? Register   Sign In
compress_output settings in config.php
#1

[eluser]Nial[/eluser]
I'm having a few issues with the compress_output setting in /application/config/config.php. I'm setting compress_output to TRUE but CI returns its content with a Content-Type of text/html (Sniffing the response in Firebug also shows the data sent back in plaintext).

ZLib is definitely installed and has been used manually by myself on several occasions. Here's the current settings via php_info:

Code:
ZLib Support     enabled
Stream Wrapper support     compress.zlib://
Stream Filter support     zlib.inflate, zlib.deflate
Compiled Version     1.2.3
Linked Version     1.2.3
#2

[eluser]InsiteFX[/eluser]
Some times php_info report that it is on when in fact it is off!

You can try adding this to your .htaccess file:

php_flag zlib.output_compression on

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB