zlib is a software library used for data compression and is a crucial component of many software platforms. A common error seen on WordPress websites is
ob_end_flush(): failed to send buffer of zlib output compression (1)
This occurs when a theme or plugin uses output buffering but doesn't flush the output properly. It is recommended to work with your web developer or the developer of the plugin or theme responsible to properly resolve the issue. However, you can stop this error from occurring by disabling zlib output compression. Here we cover the steps to disable this in your site's PHP settings.
Related Articles
Getting Started with cPanel
Update PHP INI Values
Disable zlib Output Compression
- Log into cPanel
- Navigate to MultiPHP INI Editor, located under the Software section
- Select the applicable domain from the drop-down
- Locate zlib.output_compression and click the toggle to the right to set it to Disabled
- Click the Apply button