composer.phar SSH memory limit

Avatar
  • Answered
hi
i tried of trying to increase memory limitation i used php.ini i used every possible methods put still on ssh the memory limit is 512
and because of that every time i use the php composer.phar command i get this error
Fatal error: Out of memory (allocated 148897792) (tried to allocate 32 bytes) in phar:
i build new system in laravel and this problem hanging me up !!

thank you

Avatar
Arn
Hello DesignStudioo, Sorry for the problem with the composer.phar memory limit that you're seeing when trying to use composer.phar. Make sure to review this article about memory limit errors with Composer . I am assuming that you meant "512M" for the memory value, not just "512'. Also, just to be sure, make your php.ini file recursive so that it applies to all of the folders of your installation. I hope this helps to answer your question, please let us know if you require any further assistance. Regards, Arnel C.