之前写过一篇WordPress一键升级中常见的错误
这篇主要针对这个错误:
PHP Fatal error: Out of memory (allocated 39059456) (tried to allocate 13107955 bytes) in /home/xxxxx/xxxxx/wp-includes/http.php on line 1033
解决方法是在 wp-settings.php 文件中的第 13 行找到以下代码:
define('WP_MEMORY_LIMIT', '32M');
中的32M修改成64M就OK了~