composer self-update
composer更新时遇到下图报错:

解决办法一
sh -c "echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf"
关闭ipv6
解决办法二
rm -rf /home/vagrant/.composer/cache
清除cache
composer更新时遇到下图报错:
sh -c "echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf"
关闭ipv6
rm -rf /home/vagrant/.composer/cache
清除cache
本文标题:Failed to decode response: zlib_
本文链接:https://www.haomeiwen.com/subject/guktottx.html
网友评论