Composer: PHP Fatal error: Allowed memory size exhausted

php composer.phar --self-update
COMPOSER_MEMORY_LIMIT=128MB php composer.phar update
php -d memory_limit=512M composer.phar update ...

--

--

--

Web Developer in Berlin — www.kcmueller.de

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
KC Müller

KC Müller

Web Developer in Berlin — www.kcmueller.de

More from Medium

Php 8.1 New Features — Readonly Properties

PHP: 10 tips to use for Mockery

Easily Share Your Twig Extensions with Symfony 6.1

Scrub Up! Cleaning Your PHP Application With PHPStan