composer报错:proc_open(): fork failed - Cannot allocate memory

解决方法: 
/bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024 
/sbin/mkswap /var/swap.1 
/sbin/swapon /var/swap.1

  • 570
  • A+
发布时间:2018-06-17 17:15:26