【linux】linux(centos7)使用 composer 时,进程被杀死,无法正常下载扩展包
如图and代码所示,下载扩展包时,自动杀死,而且等待时间不超过10秒就被杀死
[[email protected]_49_167_centos shop]# composer require mews/captchaDo not run Composer as root/super user! See https://getcomposer.org/root for details
Using version ^2.2 for mews/captcha
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
[1]+ 已杀死 composer remove mews/captcha
已杀死
[[email protected]_49_167_centos shop]#
回答
你这个截图没看出异常啊,只是提示不要用 root 用户执行composer而已
这里可以解决 亲测 : https://www.jianshu.com/p/fac...
以上是 【linux】linux(centos7)使用 composer 时,进程被杀死,无法正常下载扩展包 的全部内容, 来源链接: utcz.com/a/85950.html