|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
42 + 32 = ?
Subscribe to this entry?

 [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 May 18 18:01:32 2024 UTC