I am installing composer in my project and when the installation starts, this error comes out Failed to decode zlib stream.
Look for the cause of this error and I saw that you have to change in the php.ini this zlib.output_compression = Off by on in php.ini.
I have done it and it has not been served either.
I'm using windows 10 and installing composer with the .exe of its official website