执行 composer config -l -g
看到url如下
[repositories.packagist.org.url] https://packagist.phpcomposer.com
但是安装插件时还是从阿里云下载的 这是为什么?而且每次都是到这最后一步就卡住不动了 时间长了就提示killed了 这是怎么回事?清楚缓存也失败
ubuntu@VM-16-7-ubuntu:/aaa/quyin$ composer clearcache
Cache directory does not exist (cache-vcs-dir):
Clearing cache (cache-repo-dir): /home/ubuntu/.cache/composer/repo
Clearing cache (cache-files-dir): /home/ubuntu/.cache/composer/files
Clearing cache (cache-dir): /home/ubuntu/.cache/composer
Reading /root/.composer/cache/repo/https---mirrors.aliyun.com-composer/provider-symfony$twig-bundle.json from cache
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…