When linux (centos7) uses composer, the process is killed and the expansion pack cannot be downloaded properly

clipboard.png

as shown in the and code in figure, the extension package is automatically killed when it is downloaded, and the waiting time is no more than 10 seconds.

[root@VM_49_167_centos shop]-sharp composer require mews/captcha
Do 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

[root@VM_49_167_centos shop]-sharp 

Jul.30,2021

you don't see any abnormality in this screenshot, it's just a hint not to use root users to execute composer


here you can solve the personal test: https://www.jianshu.com/p/fac.

.
Menu