[root@localhost www]# composer update
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Updating dependencies (including require-dev)
PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 20480 bytes) in phar:///opt/appnode/appnode-php73/root/usr/bin/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php on line 64
Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 20480 bytes) in phar:///opt/appnode/appnode-php73/root/usr/bin/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php on line 64
Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.
但事实上我已经修改了限制
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
php_admin_value[memory_limit] = -1