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 删除虚拟显示器驱动 删除所有 Xorg 配置文件 删除显示器缓存文件 重启系统 可是依旧无法退出虚拟显示器
  • ¥15 vscode程序一直报同样的错,如何解决?
  • ¥15 关于使用unity中遇到的问题
  • ¥15 开放世界如何写线性关卡的用例(类似原神)
  • ¥15 关于并联谐振电磁感应加热
  • ¥60 请查询全国几个煤炭大省近十年的煤炭铁路及公路的货物周转量
  • ¥15 请帮我看看我这道c语言题到底漏了哪种情况吧!
  • ¥66 如何制作支付宝扫码跳转到发红包界面
  • ¥15 pnpm 下载element-plus
  • ¥15 解决编写PyDracula时遇到的问题