0

I am using composer.phar to install third party bundles in Symfony2. But whenever I run

php composer.phar update

or with any other composer.phar option, it shows:

Loading composer repositories with package information
Updating dependencies (including require-dev)

and then "Killed".

I tried to search on this on the web, but didn't really find anything helpful.

Why do you think this is happening?

Davit
  • 362
  • 1
  • 5
  • 17
  • It seems that it is a RAM problem : http://stackoverflow.com/questions/20667761/composer-killed-while-updating – ncrocfer Feb 07 '14 at 09:38
  • Thanks for your reply! I tried what was suggested in that post. But there's a huge amount of free memory on server. I tried it anyway, and it still didn't work. :( Got any more ideas? – Davit Feb 07 '14 at 10:13
  • 1
    Have you tried to make your composer update on your dev machine, then upload the composer.lock file on the prod and run the composer install command ? – ncrocfer Feb 07 '14 at 10:55
  • I missed the part of uploading .lock file to the server. Thank you pal, that worked :) – Davit Feb 07 '14 at 11:07

0 Answers0