Home >Backend Development >PHP Tutorial >php excel reader的问题

php excel reader的问题

WBOY
WBOYOriginal
2016-06-23 14:06:401105browse

我想用phpexcelreader解析excel,但是却出现了这个问题,很是蛋疼。。。
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2359297 bytes) in D:\AppServ\www\zend\phpexcel\Excel\oleread.inc on line 262


回复讨论(解决方案)

php.ini 中内存限制改大点试试
memory_limit=128M

你可以开启phpexcel的缓存机制,来缓解内存不足的矛盾

内存不够了用了

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn