[Composer] proc_open(): fork failed - Cannot allocate memory 오류
방법 1. php.ini의 register_argc_argv 값을 On으로 설정.
https://www.laravel.co.kr/posts/23
Laravel Korea
#php composer.phar install Loading composer repositories with package information Installing dependencies - Installing laravel/framework (v4.0.0-BETA3) Downloading: 100% PHP Fatal error: Uncaught exception 'ErrorException' with message 'proc_open(): fork f
www.laravel.co.kr
근데 지금은 이것도 안됨..
방법 2. swap 메모리 늘리기
sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
sudo /sbin/mkswap /var/swap.1
sudo /sbin/swapon /var/swap.1
https://stackoverflow.com/a/48024778/4531618
PHP Composer update "cannot allocate memory" error (using Laravel 4)
I just can't solve this one. I'm on Linode 1G RAM basic plan. Trying to install a package via Composer and it's not letting me. My memory limit is set to "-1" on PHP.ini Is there anything else I ...
stackoverflow.com
방법3. vendor dir 및 composer.lock 초기화
rm -rf vendor/
rm -rf composer.lock
composer install --prefer-dist
https://stackoverflow.com/a/25578447/4531618
PHP Composer update "cannot allocate memory" error (using Laravel 4)
I just can't solve this one. I'm on Linode 1G RAM basic plan. Trying to install a package via Composer and it's not letting me. My memory limit is set to "-1" on PHP.ini Is there anything else I ...
stackoverflow.com
방법4. .composer 디렉토리 삭제
sudo rm -R ~/.composer
https://stackoverflow.com/a/37239685/4531618
PHP Composer update "cannot allocate memory" error (using Laravel 4)
I just can't solve this one. I'm on Linode 1G RAM basic plan. Trying to install a package via Composer and it's not letting me. My memory limit is set to "-1" on PHP.ini Is there anything else I ...
stackoverflow.com