PaulB
Well-known member
For future reference, there are three separate concepts at play here:You can use zlib. You just need to ensure that zlib.output_compression is disabled in MultiPHP INI Editor.
- PHP's zlib extension, which is either enabled or disabled when PHP is compiled.
- PHP's zip extension, which is a separate extension that can be enabled or disabled without recompiling PHP.
- zlib output compression, which is an optional feature in PHP's zlib extension that is disabled by default even if PHP's zlib extension is enabled.
- zlib handles GZIP (.gz files), zlib (.z files), and raw DEFLATE streams
- zip handles PKZIP (.zip files)
The zlib.output_compression option is part of the PHP zlib extension; it has no relation to php-zip. If zlib.output_compression is enabled, the extension will attempt to compress the response to the browser using GZIP or DEFLATE, assuming the browser indicates support for either of those.
Disabling php-zip will not affect zlib.output_compression and will not work around the issue described here.