简体   繁体   中英

Saving to CSV gets failed if XLS file contains huge data

I have written a script that convert the .xls file to .csv file in PHP. The script is working perfectly fine if .xls file contains around ~ 80K (in term of rows) Records but when Records exceed upto 4LACS (HUGE DATA) then script doesnot work at all and no error message is being displayed and screen remains white. Kindly let me know how can I make my script work in a way that no matter how huge the data in .xls file script should work fine no matter how much time it takes.

Also, I did following modification to my php.config file but it didnot work out for me. Thanks,

set_time_limit = 0

max_execution_time = 0

也尝试增加memory_limit php设置的大小

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM