0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

dockerでcomposer updateしようとしたらメモリ不足。。ターミナルからphp.iniでmemoryの設定変更

Posted at

php.iniの場所を確認

# php --ini

vimで設定変更

# vi /usr/local/etc/php/php.ini

追記

memory_limit = 2047M

確認

# php -r 'phpinfo();' | grep memory_limit
# php -r "echo ini_get('memory_limit').PHP_EOL;"

どちらでもお好きな方を。

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?