Edit report at https://bugs.php.net/bug.php?id=80953&edit=1
ID: 80953
Comment by: Albert dot sailer at gmail dot com
Reported by: tessus@php.net
Summary: gzencode(): stream error
Status: Open
Type: Bug
Package: Zlib related
Operating System: Linux
PHP Version: 7.4.16
Block user comment: N
Private report: N
New Comment:
Hi,
Could you solve this Problem?
Im having the same issue on SuSE.
Previous Comments:
------------------------------------------------------------------------
[2021-04-15 17:29:00] tessus@php.net
Ok, so replacing the config0.m4 on 7.4 with the one from 7.3 didn't help. Same problem.
It's still working in 7.3 though.
I ran find . -name libz.so.1.1.3 in / and guess what. There's no 1.1.3 library on
my entire system. I really have no idea what the issue is. It just doesn't make any sense.
My server uptime has been 2390 days, so I will be migrating to a new machine soon. Maybe that will
fix the issues.
------------------------------------------------------------------------
[2021-04-13 22:45:26] rtrtrtrtrt at dfdfdfdf dot dfd
> I'm running Fedora 20 and haven't updated any
> yum packages for more than 4 years, because
> I compile everything myself anyway
Fedora 20 is from 2013 which means 8 years which means you are an idiot given that you for sure not
capable to compile *everything* at your own
your gcc, glibc and other low level stuff are a joke in 2021
------------------------------------------------------------------------
[2021-04-13 22:17:53] tessus@php.net
Hmm, you didn't tell me that is was a c function. Just from looking at the name I can't
determine that. Anyway, we got the proper output from phpinfo().
I haven't found it in LD_LIBRARY_PATH. I'm running Fedora 20 and haven't updated any
yum packages for more than 4 years, because I compile everything myself anyway. And I do know that I
haven't installed nor compilled 1.1.3 ever.
I really have no idea where this should be coming from. I'll try to replace the config.m4 with
the one from 7.3. Let's see if that works.
------------------------------------------------------------------------
[2021-04-13 21:56:35] cmb@php.net
> php > echo zlibVersion();
zlibVersion() is a C function. :)
> The output from pkgconfig looks ok:
Yes. However, I assume that the old zlib version is somewhere in
your LD_LIBRARY_PATH, or so. Sorry, I'm usually working on
Windows, so I can't help any further, but I don't think this is a
PHP bug.
------------------------------------------------------------------------
[2021-04-13 20:27:34] tessus@php.net
Hmmm, still not working, but we got the output from phpinfo anyway.
php > echo zlibVersion();
PHP Warning: Uncaught Error: Call to undefined function zlibVersion() in php shell code:1
The output from pkgconfig looks ok:
# pkg-config --print-provides zlib
zlib = 1.2.8
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=80953
--
Edit this bug report at https://bugs.php.net/bug.php?id=80953&edit=1