解决ecshop数据恢复时出现错误“Allowed memory

ecshop的后台点还原数据库之时,出现错误 :Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 17816268 bytes) in D:\……\admin\database.php on line 631

如何处理?

这里最模板解决办法:

找到文件admin/database.php

找到代码:

  1. @ini_set(‘memory_limit’, ’64M’);

 

把这里的 64M 改大点,比如 640M

 

  1. @ini_set(‘memory_limit’, ‘640M’);

 

发表评论