Search code examples
phpxamppzlib

How to get the value of zlib.output_compression from php.ini


There has a config in ...\xampp\php\php.ini file:

zlib.output_compression=Off

Can I get the value of this config in php?


Solution

  • This worked: echo ini_get("zlib.output_compression");