Magento Asked by Jugal Kishor on November 13, 2021
Fatal error: Out of memory (allocated 1045438464) (tried to allocate
16777216 bytes) in
phar:///usr/local/bin/composer.phar/src/Composer/DependencyResolver/Solver.php
on line 220
Run this command
composer require -dmemory_limit=-1 magento/product-community-edition
your update version
--no-update
Answered by user68317 on November 13, 2021
You need to contact the siteground support from your siteground account support section as I had faced same issue and contacted the support they increase the PHP memory limit and issue solved.
Answered by VDC on November 13, 2021
1- Locate your main php.ini file by executing php --ini
You will find the path in
Loaded Configuration File: PATHTOphp.ini
2- update memory_limit
to a higher value or -1 to maximum
3- save file and rerun your composer command again.
Second Option if you can't edit the main php.ini
You can use custom .ini file to run composer
php -n -c /PATH/TO/custom.ini composer.phar
and download composer.phar
from getcomposer website
Answered by Ahmed Atef on November 13, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP