春与秋
春有百花秋有月,夏有凉风冬有雪;若无闲事挂心头,便是人间好时节。
春与秋
当前位置: 首页 > PHP > 正文

phpexcel 导入大excel文件时提示phpexcel Allowed memory size of 33554432 bytes exhausted

根据提示应该可以修改php.ini下的memory_limit可以使用,但我的空间不支持修改php.ini。

只好在Worksheet.php页面添加:

ini_set(‘memory_limit’,’128M’);

添加后在正常使用。

您可能还会对这些文章感兴趣!

phpexcel 导入大excel文件时提示phpexcel Allowed memory size of 33554432 bytes exhausted:等您坐沙发呢!

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

gravatar

? razz sad evil ! smile oops grin eek shock ??? cool lol mad twisted roll wink idea arrow neutral cry mrgreen