Today I encountered the problem of uploading files that clearly do not exceed the
The following error appears:
Request Entity Too Large
The requested resource media-new.php does not allow request data with POST requests ...
This error message is not related to php settings. This is a limitation in the Apache server in
In order to fix it, you need to add the following lines to
Thus, for the
media-new.php file, a limit of
4Mb is set on the size of the request body.