dpy87530
2013-07-09 16:10
浏览 69
已采纳

Wordpress导出超出内存限制

While trying to export a very large wordpress site, I keep running into an out of memory error from php.

I've changed my memory limit in php.ini to

memory_limit = -1

but I'm still getting this error from wordpress' exporter in my apache error log

HP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 71 bytes) in /home/webapps/enterprise-web-root/wp-includes/formatting.php on line 2474, referer: http://XX.XXX.XXX.XXX/wp-admin/export.php

图片转代码服务由CSDN问答提供 功能建议

在尝试导出非常大型wordpress网站时,我一直在努力 来自php的内存错误。

我已将php.ini中的内存限制更改为

  memory_limit = -1 
   
 
 

但我仍然在我的apache错误日志中从wordpress'exporter收到此错误

  HP致命错误:允许的内存 第2474行/home/webapps/enterprise-web-root/wp-includes/formatting.php中大小为268435456字节耗尽(试图分配71个字节),参考资料:http://XX.XXX.XXX.XXX/wp  -admin / export.php 
   
 
  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

2条回答 默认 最新