Posts Tagged ‘Allowed memory’

wordpress 2.8.2 升级失败 出现Allowed memory..exhausted.. 解决方法

Posted on the 七月 28th, 2009 under WordPress 解决方案 by Cassie

WordPress 2.8.2 出来已经有一段时间了,但是升级时总是出现错误:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in …wp-includes/http.php on line 1345.

一开始以为是哪个插件阻碍了升级,当停用所有插件后还是不能解决问题,后来分析了错误提示后,知道了应该是内存不足,所以,关键问题是加大wordpress的使用内存。

解决方法很简单,打开wp-config.php文件,在

define ('WPLANG', 'zh_CN');

后插入

define('WP_MEMORY_LIMIT', '64m');

当然,