PDA

View Full Version : zlib compression


kakao
11-28-04, 12:51 PM
I'm trying to make zlib page compression work without success.

Created a php.ini file and uploaded as text to htdocs:
zlib.output_compression "On"
zlib.output_compression_level "1"
zlib.output_handler ""
This didn't work

Added these lines to the already existing .htaccess in htdocs:
<FilesMatch "\.(php|html?)$">
php_value zlib.output_compression 4096
</FilesMatch>
This generated a 500 error.

What is wrong?

tbonekkt
11-28-04, 06:15 PM
zlib.output_compression "On"
zlib.output_compression_level "1"
zlib.output_handler ""Try changing those to:zlib.output_compression = On
zlib.output_compression_level = 1
zlib.output_handler = You didn't have the equal signs. That may or may not be the problem though..