Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes) 问题解决
2008-05-13 12:23
701 查看
问题状态:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes) ……
解决办法(三种):
一、修改php.ini(推荐)
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes) ……
解决办法(三种):
一、修改php.ini(推荐)
memory_limit = 12M 二、在程序里面添加如下语句
ini_set('memory_limit', '12M'); 三、在根目录建立.htaccess文件,添加如下内容
php_value memory_limit 12M 如果还不能解决,就把它改得再大一些。 最后注意的是重启服务器。
相关文章推荐
- Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes)
- php项目编写过程中Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 3214636 byt
- Fatal error: Allowed php错误提示memory size of 8388608 bytes exhausted (tried to allocate 58368 bytes) i
- Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 393216 byt
- Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2611816 bytes) 今天要
- Fatal error: Allowed memory size of 8388608 bytes exhausted解决方法
- PHP提示Fatal error: Allowed memory size of 8388608 bytes exhausted的解决办法
- Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes)
- Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes)
- 问题解决Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 38218371 bytes)
- Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 62 bytes) in
- Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes)
- Fatal error: Allowed memory size of 8388608 bytes exhausted解决方法
- dede后台Fatal error: Allowed memory size of 8388608 bytes exhausted问题的解决方
- Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2611816 bytes)
- Fatal error: Allowed memory size of xxx bytes exhausted.(tried to allocate xxx bytes)
- php内存不够用,出现Allowed memory size of 8388608 bytes exhausted (tried to allocate 1298358 bytes)
- discuz Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 262144 bytes) 错误解决方法