$ ./composer.phar install 에서 나타난 오류
The following exception is caused by a lack of memory and not having swap configured
Check https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details
PHP Fatal error: Uncaught exception 'ErrorException' with message 'proc_open(): fork failed - Cannot allocate memory' in phar
메모리 부족과 스왑 가능한 설정이 되어 있지 않아 중단된 오류.
친절하게 해결 가능한 링크까지 출력함.
스왑 메모리 설정으로 해결.
proc_open(): fork failed errors
# /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 28.8205 s, 37.3 MB/s
# /sbin/mkswap /var/swap.1
Setting up swapspace version 1, size = 1048572 KiB
no label, UUID=1059f052-16d7-4331-9515-3bc9f88b10cd
# /sbin/swapon /var/swap.1
WRITTEN BY
- 손가락귀신
정신 못차리면, 벌 받는다.