PHPExcel export large amount of data processing

Today, the use of plug-guide PHPExce no data was found to be the cause of the large amount of data, where only a simple process.

1, export processing timeout: Add in the implementation of the page: set_time_limit (0);

2, memory overflow: the implementation of this page: ini_set ( "memory_limit", "1024M");

Is simply the implementation of the page to add the following two lines of code:

set_time_limit(0);

ini_set("memory_limit", "1024M");

This is my data processing more than 10,000, such as a larger amount of data, you can refer to: https://blog.csdn.net/Drug_/article/details/78716358

The approach

Guess you like

Origin www.cnblogs.com/wheats/p/11227653.html
Recommended