Allowed memory size of 149946368 bytes exhausted (tried to allocate 32640 bytes)
问题:PHP Fatal error: Allowed memory size of 149946368 bytes exhausted (tried to allocate 32640 bytes)原因:php限制了该脚本的能申请到的内存;解决办法:修改php.ini文件中memory_limit, 并重启php-fpm;在脚本中添加ini_set(‘memory_limit’, ‘-1’
原创
2017-04-26 15:28:57 ·
722 阅读 ·
0 评论