在尝试导出一个非常大的 wordpress 站点时,我一直遇到 php 的内存不足错误。
我已将 php.ini 中的内存限制更改为
memory_limit = -1
但我仍然在我的 apache 错误日志中从 wordpress 的导出器中收到此错误
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