The "Killed" message usually means your process consumed too much memory, so you may simply need to add more memory to your system if possible. At the time of writing this answer, I've had to increase my virtual machine's memory to at least 768MB in order to get composer update to work in some situations.
if you need to run composer update you need to access your hosting server through ssh, you can use putty on windows on linux or mac you can use terminal, first you need to enable ssh on your hosting server, if you have dedicated hosting or vps you can install composer other wise you have to upload composer.
You can now verify your installation by opening a CMD prompt and typing 'composer –V' to see the version number.
I tried to execute:
composer.phar update
And received:
Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 71 bytes) in phar:///home/xxxxxxx/bin/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php on line 123
The xxxxxxx is the user.
And then I tried to execute:
php -d memory_limit=256M ~/bin/composer.phar update
And:
php -d memory_limit=512M ~/bin/composer.phar update
Then I received this:
Yikes! One of your processes (php, pid 14331) was just killed for excessive resource usage. Please contact DreamHost Support for details.**
How can I execute composer update on Dreamhost shared host? Can someone who had experienced this situation could help me please?
The context: Laravel 4
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With