ソースを参照

Merge pull request #7157 from xabbuh/patch-1

document the COMPOSER_MEMORY_LIMIT env var
Jordi Boggiano 7 年 前
コミット
a652039cc2
1 ファイル変更6 行追加0 行削除
  1. 6 0
      doc/articles/troubleshooting.md

+ 6 - 0
doc/articles/troubleshooting.md

@@ -140,6 +140,12 @@ Debian-like systems):
 memory_limit = -1
 ```
 
+Composer also respects a memory limit defined by the `COMPOSER_MEMORY_LIMIT` environment variable:
+
+```sh
+COMPOSER_MEMORY_LIMIT=-1 composer.phar <...>
+```
+
 Or, you can increase the limit with a command-line argument:
 
 ```sh