I'm trying to update a module for my Drupal website on my VPS using composer.
When I run: composer require 'drupal/webform:^6.0', the system starts out fine, but then stops with
Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///opt/cpanel/composer/bin/composer/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52
I know how to modify the memory setting in php.ini, and I have
memory_limit = -1
I'm confused though, because when I run
php -r "echo ini_get('memory_limit').PHP_EOL;"
the system comes back with 32M.
I feel I must be missing something simple, but I've tried all my "tricks" to figure it out.
Any suggestions?