devit2017
devit2017

Reputation: 317

Error while updating composer

I'm trying to update composer in my Symfony project and I'm getting this error: enter image description here

enter image description here

PHP Version: 5.5.12

Upvotes: 1

Views: 170

Answers (2)

Frank B
Frank B

Reputation: 3697

php -d memory_limit=-1 composer update

or

set memory size in php.ini to -1 (not recommended on a shared hosting)

Upvotes: 1

Alvin Bunk
Alvin Bunk

Reputation: 7764

Can you try this command:

php -d memory_limit=-1 composer update

See if that works? This was from the link in the error message output here:

https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors

Upvotes: 0

Related Questions