- Plesk Obsidian for Linux
Unable to install or update PHP Composer dependencies at Plesk > Domains > example.com > PHP Composer. The following error is shown:
PLESK_ERROR: Loading composer repositories with package information
PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/lib64/plesk-9.0/composer.phar/src/Composer/DependencyResolver/Solver.php on line 223
The minimum value of
memory_limit from Composer is insufficient.
According to the composer code,
memory_limit minimum value is internally set to 1.5G.
- Log into Plesk;
- Set the
-1in Domains > example.com > PHP Composer > Environment variables: