【PHP】Allowed memory size of xxx bytes exhausted的解决办法
用PhpMyAdmin导入一个几十M的数据备份时出错了,提示
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 48 bytes) in ...
解决方法很简单也很暴力:
直接修改php.ini,加大memory_limit的设置
memory_limit = 1024M
重启Apache,搞定
本博客所有文章如无特别注明均为原创。
复制或转载请以超链接形式注明转自 芸路拾光, 原文地址《【PHP】Allowed memory size of xxx bytes exhausted的解决办法》
复制或转载请以超链接形式注明转自 芸路拾光, 原文地址《【PHP】Allowed memory size of xxx bytes exhausted的解决办法》
标签: PHP
还没有人抢沙发呢~