Is there any limitation of file size when trying to open or save a file used phpexcel

Topics: Developer Forum, Project Management Forum
Jun 14, 2012 at 5:02 AM


When I try to open an excel file by phpexcel,I find that  the function "$php_reader->load($newfile);" can not open it successfully.The size of this file are more than 2M and I have already set the upload file size to 10M in php.ini

And I find the funciton "$objWriter->save($newfile);" does not work when the size of  "$newfile" are more than 500K

I want to know that is there any limitation of the file size or how to change the settings



Jun 14, 2012 at 7:36 AM

Browse this forum for information on the memory limitations of PHP, and hence of PHPExcel... there's a lot been written about it.

You can increase your PHP memory limit, or use cell cacheing to reduce the memory that PHPExcel requires to hold your workbook.