简体   繁体   English

增加内存限制的作曲家

[英]Increasing memory limit composer

Executed this command, but the help menu for composer is getting displayed 执行了此命令,但正在显示作曲家的帮助菜单

php -d memory_limit=-1 composer

this is the in the directory where the composer file is located (the bin directory). 这是作曲家文件所在的目录(bin目录)中的。 tried with composer.phar, says file does not exist. 用composer.phar尝试过,说文件不存在。 please help. 请帮忙。 thank you 谢谢

Based on the document, you should be able to add a composer command in the <...> 根据文档,您应该能够在<...>中添加composer命令。

php -d memory_limit=-1 composer <...>

So, for things like 所以,对于像

php -d memory_limit=-1 composer require apackage
php -d memory_limit=-1 composer update

That means to run the composer command with memory_limit = -1. 这意味着要以memory_limit = -1运行composer命令。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM