I got an error when installing phpspreadsheet using composer:
Check Related information This situation is caused by insufficient cache. In Linux, we can increase the cache to solve this problem. The specific operations are as follows:
free -m mkdir -p /var/\_swap\_ cd /var/\_swap\_ dd if\=/dev/zero of\=swapfile bs=1M count=2000 mkswap swapfile swapon swapfile echo "/var/\_swap\_/swapfile none swap sw 0 0" >> /etc/fstab free -m
You can follow these commands successfully. I hope this article can help you
The above is the detailed content of What should I do if composer appears Killed during installation and is terminated?. For more information, please follow other related articles on the PHP Chinese website!