PHPExcel: Trouble loading large file

Since you’ve mentioned that the file is “large”, it may be memory / execution time problem.

Please try adding the following 2 lines at the top of your PHP script (to allocate memory and allow longer execution time):

ini_set('memory_limit', -1); 
ini_set('max_execution_time', 7200);

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top