简体   繁体   English

plupload无法上传大文件

[英]plupload can't upload large files

I am trying to upload the pdf file whose size is over 8MB. 我正在尝试上传大小超过8MB的pdf文件。 I made the following configuration setting for my php file, but no progress made at all :(. Any help would be appreciated. 我为我的php文件进行了以下配置设置,但没有任何进展:(。任何帮助将不胜感激。

a.  max_input_time =600 // 60 second
b.  file_uploads = On
c.  max_execution_time = 3000  // 300 second
d.  memory_limit = 1280M      // 128M
e.  post_max_size = 800M   // 8M
f.  upload_max_filesize = 2000M    // 2M needs to be in {x}M format
g.  cgi.force_redirect=0
h.  cgi.fix_pathinfo=0
i.  fastcgi.impersonate = 1

Or I would like to ask this question. 或者我想问这个问题。 If I get "HTTPError : ~~ URL might be wrong or doesn't exist", is it that I need to check up the setting with file size? 如果出现“ HTTPError:~~ URL可能错误或不存在”,是否需要检查文件大小的设置? I searched for this error message, and so almost all posts take the file size as the problem, although the error message seems irrelevant to it. 我搜索了此错误消息,因此几乎所有帖子都将文件大小视为问题,尽管该错误消息似乎与此无关。

Thanks. 谢谢。

use phpinfo(); 使用phpinfo(); and see your configuration status. 并查看您的配置状态。 i think it's a misconfiguration of your phpini file, if you are using shared hosting sometimes the provider will block overwriting the phpini file. 我认为这是您的phpini文件的配置错误,如果您使用共享托管,有时提供商会阻止覆盖phpini文件。

If you can overwrite the phpini file, look in the help section of your provider, and you'll find how to and where to place your phpini file. 如果您可以覆盖phpini文件,请查看提供程序的帮助部分,您将找到如何以及在何处放置phpini文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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