开发者

Fatal error: Allowed memory

I tried to activate W3 Total Cache wordpres plugin and got some b开发者_如何学Pythonlank screen with memory error message. After I deactivated all plugins and set the default WP theme, my front page still says :

« Fatal error: Allowed memory size of 262144 bytes exhausted », although my wp-config contains the line : define('WP_MEMORY_LIMIT', '96M');

How is that possible ?


I would not set memory limit as -1, you are asking for your host to kick you off the server.


add this in top of wp-config

ini_set('memory_limit', '-1');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜