WordPress网站提示内存不足的解决方法

WordPress网站前台或后台出现Fatal error: Allowed memory size of xxx bytes exhausted (tried to allocate xxx bytes) in xxx.php on line xxx的解决办法打开wp-includes目录下default-constants.php文件,找到如下代码(如果没有就新增): // set memory limitsif ( !defined(‘WP_MEMORY_LIMIT’) ) {if( is_multisite() ) {define(‘WP_MEMOR… 阅读全文WordPress网站提示内存不足的解决方法