To configure upload size, You need to modify php.ini file,
which should be present in
/etc/php or similar
directory. Mine was in
PHP-FPM is used with NGINX.
post_max_size- total size of data that could be sent by POST request
upload_max_filesize- maximum size of uploaded file
be larger than
there is virtually
always some extra data transferred along with uploaded
Values accept suffixes like
M for megabytes or
G for gigabytes.
Also there is a configuration option for maximum amount of
simultaneous uploads -
- this might also be important to set, to allow uploading many
files at once.
Example of configuration file part:
post_max_size = 800M
upload_max_filesize = 2M max_file_uploads = 200
Check also setting of NGINX maximum POST size