doushou1298 2011-02-18 21:11
浏览 100
已采纳

您可以为post_max_size或upload_max_filesize设置的值有任何限制吗?

I am tasked with creating an uploader for a site that can handle very large files to avoid the clients having to use ftp as the means to send. By very large I mean upwards to 2 gigs in size. I have researched a few options and tested a couple implementations, one of them is:

http://www.easyflashuploader.com/en/efu-audio-uploader-demo#start

Only problem is this one does no file chunking ( that I know of ) so it requires me setting post_max_size and upload_max_filesize to ridiculous numbers to compensate. Is there a limit to what you can set this up to? Big reasons against doing so?

Thanks in advance.

  • 写回答

2条回答 默认 最新

  • dongtuo3530 2011-02-18 21:19
    关注

    PHP's pretty crappy when it comes to large file uploads, particularly because you have to a memory limit higher than the size of the file. As well, Apache on 32bit systems tends to have a 2gig file limit itself, so even if PHP could handle the upload, Apache will choke.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 目前主流的音乐软件,像网易云音乐,QQ音乐他们的前端和后台部分是用的什么技术实现的?求解!
  • ¥60 pb数据库修改与连接
  • ¥15 spss统计中二分类变量和有序变量的相关性分析可以用kendall相关分析吗?
  • ¥15 拟通过pc下指令到安卓系统,如果追求响应速度,尽可能无延迟,是不是用安卓模拟器会优于实体的安卓手机?如果是,可以快多少毫秒?
  • ¥20 神经网络Sequential name=sequential, built=False
  • ¥16 Qphython 用xlrd读取excel报错
  • ¥15 单片机学习顺序问题!!
  • ¥15 ikuai客户端多拨vpn,重启总是有个别重拨不上
  • ¥20 关于#anlogic#sdram#的问题,如何解决?(关键词-performance)
  • ¥15 相敏解调 matlab