cPanel & WHM no longer develops EasyApache 3 and only releases security updates for it. We will deprecate EasyApache 3 on December 31, 2018. After that date, we will no longer update EasyApache 3. In cPanel & WHM version 78, we will remove support for EasyApache 3. For more information, read our cPanel Long-Term Support documentation. If you do not upgrade to EasyApache 4, you cannot upgrade to cPanel & WHM version 78. We strongly recommend that you upgrade to EasyApache 4. For more information, read our EasyApache 4 documentation.
PHP Module: Zlib - EasyApache - cPanel Documentation
Page tree
Skip to end of metadata
Go to start of metadata


zlib – Read and write gzip archives


PHP Version5
Profile ValueCpanel::Easy::PHP5::Zlib
Reverse BooleanNo


This module has no known compatibility issues.


The following paths are checked for

  • /usr/lib64
  • /usr/local/lib64
  • /usr/local/lib
  • /lib64
  • /lib

If is found, --with-zlib-dir=directory will be added to PHP's configuration options.

A small test script that uses zlib.h is compiled to ensure the installed zlib is functional. If this test fails, the module will be disabled.

If you enable this option, --with-zlib will be added to PHP's configuration options.


OSOS VersionRPM/Package
CentOS/Red HatAllzlib
CentOS/Red HatAllzlib-devel

Vendor documentation

PHP versionDocumentation