PHP 安装相关记录【持续更新】

旧时模样 提交于 2020-03-15 12:51:28

1.Composer速度慢

解决方案: https://developer.aliyun.com/composer

 

2.composer update 和 composer install 区别

解决方案:执行 composer update 会根据 composer.json 相关依赖更新安装,

执行 composer install 会根据composer.lock 相关依赖安装

 

3. composer update 出现Content-Length mismatch, received  bytes out of the expected 620211 ?

解决方案:A.清空缓存  composer clear  B。更换源  C. 尝试改大一些 composer config cache-files-maxsize 800MiB

题外话:大概要C:\Users\PC\AppData\Local\Composer\repo\https---repo.packagist.org 会出来

https://getcomposer.org/Composer-Setup.exe

 

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!