LoginSignup
0
0

More than 3 years have passed since last update.

php.iniの上限値をなくす

Posted at

php.iniのmemory_limitについて

phpで一回の処理でデフォルトの上限値を超えると,

 Allowed memory size of 268435456 bytes exhausted

こんな感じのエラーが出ます。
なので、/usr/local/etc/php/php.iniを開いて、

memory_limit = 256M //この部分を変える
memory_limit = -1

-1にすると処理の上限を外せるみたいです。

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