Für Composer die PHP Version und memory_limit in der Konsole bei all-inkl anpassen - SSH

'Mathias Arzberger'
Mathias Arzberger

Für Composer die PHP Version und memory_limit in der Konsole bei all-inkl anapssen - SSH

composer update

Allowed memory size of ... bytes exhausted (tried to allocate ... bytes)

Fehlermeldung

PHP Fatal error:  Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///www/htdocs/w000000/domains/example.com/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php on line 117

Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///www/htdocs/w000000/domains/example.com/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php on line 117

Composer update bei al-inkl in der Konosle ausführen

# PHP 8.2
php82 -dmemory_limit=-1 composer.phar update

# PHP 8.1
php81 -dmemory_limit=-1 composer.phar update

# PHP 8.0
php80 -dmemory_limit=-1 composer.phar update

# PHP 7.4
php74 -dmemory_limit=-1 composer.phar update

# PHP 7.3
php73 -dmemory_limit=-1 composer.phar update

Zurück