我上传大文件时遇到问题,我有一个专用服务器,上传文件超过500Mb。我已经在我的面板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证书,这可能是另一个原因吗?
有人知道怎么解决这个问题吗?对不起,我的英语有点不好。
问候!
您能否尝试在httpd.conf文件或本地.htaccess文件中设置LimitRequestBody指令
http://httpd.apache.org/docs/2.0/mod/core.html#limitrequestbody