Quantcast
Channel: DOCU - Foren
Viewing all articles
Browse latest Browse all 6559

Administration - Installation - Core: Request body (Content-Length) is larger than the configured limit

$
0
0

In https operation, failed try to uploading over 13M file shows following error message very often:
The upload failed as this is a folder, the file size is 0 bytes or exceeded the max. upload size or the file was renamed meanwhile.

Changing configuration of php.ini does not help at all.
/etc/php.ini
    memory_limit 512M
    upload_max_filesize 400M
    post_max_size 400M
In rare case, to restart php-fpm is required as well as restarting httpd.service.

This is caused by "SecRequestBodyLimit 13107200" on  "/etc/httpd/conf.d/mod_security.conf".
It must be changed to specifed size.


And to restart httpd.service will work properly.


Viewing all articles
Browse latest Browse all 6559

Trending Articles