Home >Development Tools >composer >Solve composer error: memory size exceeded (Allowed memory size)
The following tutorial column of composer will introduce to you about the composer error: the problem of exceeding the memory size (Allowed memory size), I hope it will be helpful to friends in need!
When I executed composer update today and updated the expansion package, I reported an error, as follows:
I searched online for a long time but could not find a solution. Finally, I still succeeded, so I wrote an article to record it.
First execute the composer help command
composer -h
Find the composer installation directory
Then execute:
php -d memory_limit=-1 /usr/bin/composer update
The execution was successful, thank you for sharing. . .
The above is the detailed content of Solve composer error: memory size exceeded (Allowed memory size). For more information, please follow other related articles on the PHP Chinese website!