This topic created in 3221 days ago, the information mentioned may be changed or developed.
有人遇到过这个问题吗? windows 下 apache 进程 php 导入大文件 内存占用到 900m 左右就不增加了. apache 进程也不退出 服务器还剩下大量内存. 我 php memorylimit 是 2048M.
5 replies • 2018-01-21 13:43:53 +08:00
 |
|
改 apache 的最大上传文件限制,在 apache 的配置文件中,记得重启 apache。具体参数自行 Google
|
 |
|
@ jsjscool 文件不大 能传上来 是很多 exce lphp 在解析的时候会出问题.
|
 |
|
如果 excel 里只是单个单个数据的话,最好把它转成 csv 格式,然后用 php 内置的 csv 读写函数,效率会高很多
|
 |
|
是不是你的代码有死循环了?
|
 |
|
@ hccdj131 换了 nginx 就好了 不过 nginx 在 windows 下面的稳定性不太好. linux 环境也没这问题
|