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 4:02 AM

Hello

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

 

thanks

Coordinator
Jun 14, 2012 at 6: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.