Bug #76709 [ReO->Csd]: Minimal required zlib library is 1.2.0.4
| From: | cmb@php.net | Date: | Mon, 06 Aug 2018 10:12:40 +0000 |
| Subject: | Bug #76709 [ReO->Csd]: Minimal required zlib library is 1.2.0.4 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-216633@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76709&edit=1
ID: 76709
Updated by: cmb@php.net
Reported by: petk@php.net
Summary: Minimal required zlib library is 1.2.0.4
-Status: Re-Opened
+Status: Closed
Type: Bug
Package: Zlib related
PHP Version: 7.1.20
Assigned To: petk
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2018-08-06 10:12:20] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=345437
Log: Fix #76709: Minimal required zlib library is 1.2.0.4
------------------------------------------------------------------------
[2018-08-06 07:47:15] petk@php.net
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:43:27] petk@php.net
Automatic comment on behalf of peterkokot@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=a3e3d914edffc3128b67ba73ca7dc85c07aede43
Log: Fix bug #76709: Minimal required zlib library is 1.2.0.4
------------------------------------------------------------------------
[2018-08-06 07:36:39] requinix@php.net
Seems like it happened 8 years ago with PHP 5.4?
https://github.com/php/php-src/commit/11d24c1593d6617f73d3f290617bd8994182f4dc#diff-e6a0538da2ce7ab6c67ecf482c981f50
The docs need updating, but so does the .m4's description of --with-zlib.
------------------------------------------------------------------------
[2018-08-06 07:22:03] petk@php.net
Description:
------------
Documentation for the zlib says that minimal required version for zlib is 1.0.9:
http://php.net/manual/en/zlib.requirements.php
However there was an update of the zlib extension API and it now requires at least 1.2.0.4 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:
---------------
./buildconf
./configure --help | grep zlib
Expected result:
----------------
--with-zlib=DIR Include ZLIB support (requires zlib >= 1.2.0.4)
Actual result:
--------------
--with-zlib=DIR Include ZLIB support (requires zlib >= 1.0.9)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76709&edit=1