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