
问题描述
PHP开启错误输出后,PHP报错提示如下
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 131072 bytes) in xxxx.php on line xxx
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) in
问题分析
这个是由于可用内存已耗尽,所以终端报出了Allowed memory size of 134217728 bytes exhausted错误,因为PHP默认内存限制是128M,所以需要修改php.ini文件的memory_limit设置。








