|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76709 Minimal required zlib library is
Submitted: 2018-08-06 07:22 UTC Modified: 2018-08-06 10:12 UTC
From: Assigned: petk (profile)
Status: Closed Package: Zlib related
PHP Version: 7.1.20 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
New email:
PHP Version: OS:


 [2018-08-06 07:22 UTC]
Documentation for the zlib says that minimal required version for zlib is 1.0.9:

However there was an update of the zlib extension API and it now requires at least version of zlib system library. The minimal required version is also reported in the 'configure --help' output. This affects active PHP 7.1+ versions.

Test script:
./configure --help | grep zlib

Expected result:
--with-zlib=DIR         Include ZLIB support (requires zlib >=

Actual result:
--with-zlib=DIR         Include ZLIB support (requires zlib >= 1.0.9)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-08-06 07:36 UTC]
-Type: Documentation Problem +Type: Bug
 [2018-08-06 07:36 UTC]
Seems like it happened 8 years ago with PHP 5.4?

The docs need updating, but so does the .m4's description of --with-zlib.
 [2018-08-06 07:43 UTC]
Automatic comment on behalf of
Log: Fix bug #76709: Minimal required zlib library is
 [2018-08-06 07:43 UTC]
-Status: Open +Status: Closed
 [2018-08-06 07:45 UTC]
-Status: Closed +Status: Re-Opened
 [2018-08-06 07:47 UTC]
Thanks, I've updated the config0.m4 file via the above patch. I'm also reopening this one since the docs need to be updated as well. I guess, this is best to be reported separately in such cases.
 [2018-08-06 07:47 UTC]
-Assigned To: +Assigned To: petk
 [2018-08-06 10:12 UTC]
Automatic comment from SVN on behalf of cmb
Log: Fix #76709: Minimal required zlib library is
 [2018-08-06 10:12 UTC]
-Status: Re-Opened +Status: Closed
 [2020-02-07 06:05 UTC]
Automatic comment on behalf of cmb
Log: Fix #76709: Minimal required zlib library is
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Feb 24 22:01:29 2024 UTC