|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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: Fri Jun 14 09:01:30 2024 UTC