dtwkt46424 2014-12-02 10:29
浏览 407

如何从PHP中读取Excel文件(14MB +)中的大数据?

How to read large data from Excel files (14MB+) in PHPExcel? I have done with excelreader it says Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 36 bytes) in E:\xampp\htdocs\Projects\PIN\library\excel_reader2.php on line 1508

can any one give me the link to read the excel large data?

  • 写回答

1条回答 默认 最新

  • duanquezhan7268 2014-12-02 10:32
    关注

    Increase the memory php can use.

    Edit php.ini and change the memory_limit option, for example:

    memory_limit = 128M ; /* Change the 128M to your needs */

    Also, read this related post: ini_set("memory_limit") in PHP 5.3.3 is not working at all

    评论

报告相同问题?

悬赏问题

  • ¥100 连续两帧图像高速减法
  • ¥15 组策略中的计算机配置策略无法下发
  • ¥15 如何绘制动力学系统的相图
  • ¥15 对接wps接口实现获取元数据
  • ¥20 给自己本科IT专业毕业的妹m找个实习工作
  • ¥15 用友U8:向一个无法连接的网络尝试了一个套接字操作,如何解决?
  • ¥30 我的代码按理说完成了模型的搭建、训练、验证测试等工作(标签-网络|关键词-变化检测)
  • ¥50 mac mini外接显示器 画质字体模糊
  • ¥15 TLS1.2协议通信解密
  • ¥40 图书信息管理系统程序编写