kb: how-to
Plesk for Linux
php_value
Applicable to:
- Plesk Obsidian for Linux
Question
How to disable/enable zlib.output_compression PHP directive?
How to configure zlib.output_compression_level PHP directive?
Answer
How to enable/disable zlib.output_compression for PHP handler
- Log into Plesk
- Go to Tools & Settings > PHP Settings > <PHP version> > php.ini
- Find and change the value of
zlib.output_compression
to a required one (on/off):
CONFIG_TEXT: zlib.output_compression = on
- Scroll down and press the OK button to apply the changes
How to configure zlib.output_compression_level PHP directive?
- Log into Plesk
- Go to Tools & Settings > PHP Settings > <PHP version> > php.ini
- To change the compression level, find and change the value of the
zlib.output_compression_level
parameter:
CONFIG_TEXT: zlib.output_compression_level = -1
Note: Compression level used for transparent output compression. Specify a value between 0 (no compression) to 9 (most compression). The default value, -1, lets the server decide which level to use.
- Scroll down and press the OK button to apply the changes
Comments
0 comments
Please sign in to leave a comment.