Check for non-empty settings that likely conflict. Examples:
output_handler = ob_gzhandler
auto_append_file = gzip_end.php auto_prepend_file = gzip_start.php
In these cases, we should set: disable_merged_assets = 1 or add a new setting to disable only the compression aspect (given that serveStaticFile is also used by the piwik.* proxy).
we should only disable compression if possible, rather than disabling merged assets.
Could this be detected by a simple ini_get ?
Yes, if any of the above settings are non-empty, disable compression. We can do this at runtime.
auto_append_file/auto_prepend_file - those are user-defined files (for the example, I used a user's config)
output_handler could be ob_gzhandler, ob_deflatehandler, ob_inflatehandler, ob_iconv_handler, ob_tidyhandler, mb_output_handler, ...
(In ) fixes #1940 - runtime detection for possible conflict