Reading very large (more than 100MB) Excel files in PHP
问题 I'm trying to read a larger than 100MB Excel file using PHPExcel but it crashes while loading the file. I don't need any styling. I tried using: $objReader->setReadDataOnly(true); but it still crashes. Is there any efficient way to read this size of Excel file in PHP? 回答1: Try Spout: https://github.com/box/spout. This is a PHP library that was created to solve your problem (reading/writing large files). Here is why it works: Other libraries keep a representation of the spreadsheet in memory