Composer: proc_open(): fork failed errors

If composer shows proc_open() fork failed on some commands: PHP Fatal error: Uncaught exception ‘ErrorException’ with message ‘proc_open(): fork failed – Cannot allocate memory’ in phar This could be happening because the VPS runs out of memory and has no Swap space enabled. free -m   total used free shared buffers cached Mem: 2048 357
Continue reading Composer: proc_open(): fork failed errors


Applications in Laravel are namespaced. By default, this is just App – Laravel’s great, but it still can’t guess the name of your application! To set it to something more appropriate, we can use the Artisan command: php artisan app:name Furbookphp artisan app:name Furbook