使用composer下载源码出现错误

[Composer\Downloader\TransportException]                                   
  Content-Length mismatch, received 84697 bytes out of the expected 355473 

解决办法:更换源,改到国内来

composer config repo.packagist composer https://packagist.phpcomposer.com

 

发布评论

分享到:

IT虾米网

微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!

Mysql主从架构报错-Fatal error: The slave I/O thread stops because master and slave have equal MySQL server UUIDs; these UUIDs must be different for replication to work...详解
你是第一个吃螃蟹的人
发表评论

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。