我上传大文件时遇到问题,我有专用服务器,上传文件时超过500Mb。我在Panel WHM上编辑了PHP配置编辑器。
post_max_size 3000M
upload_max_filesize 3000M
max_input_time -1
memory_limit 700M
max_execution_time 9000
错误:
Request Entity Too Large
The requested resource
/index.php
does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
进行这些设置后,joomla会被忽略,尤其是我正在使用的扩展程序。 "音乐收藏"。此扩展程序采用的设置是默认设置。文件2MB,最大邮件8MB。
最近我使用SSL cetificado,这可能是另一个原因吗?
有谁知道如何解决这个问题?对不起,我的英语有点不好。
问候!
答案 0 :(得分:0)
您可以尝试在httpd.conf文件或本地.htaccess文件中设置LimitRequestBody指令
http://httpd.apache.org/docs/2.0/mod/core.html#limitrequestbody