However, usually it’s recommended not to enter for “post_max_size” a value higher of “memory_limit” because could cause issue.
Doesn’t it make more sense to have a “post_max_size” that is less than or equal to the “memory_limit” and change only the value for “upload_max_filesize”?
To consider that on Plesk (the control panel that I use on my server) I can’t apply these values only for the subdomain where it is located Nextcloud (e.g. nextcloud.mydomain.com) but for the whole hosting (e.g. mydomain.com, othersubdomain.mydomain.com .etc.).
So, is it correct to use these values for a Nextcloud installation with a limit of “2G” for single upload or could I have some problem?
Nextcloud clients are uploading the files in chunks (small pieces) hence lower limits should work. If you run a lot of apps make sure to increase the memory limit. If you are using 3rdparty clients (e.g. windows network mount, cyberduck, nautilus or any other day client) higher limites are necessary (because those does not use chunking).
Just out of curiosity, what are the configurations for the following parameters you usually use?
memory_limit =
max_execution_time =
max_input_time =
post_max_size =
upload_max_filesize =
I’m using the defaults for max_execution_time. But nextcloud changes the max_execution_time itself to a higher value. (that might change in the future).
hello , I have instlled NC in a docker , all is ok, but I see I can not upload a simple pdf or anyfile just if the file has low wight, how can I modify the values , ca you tellme where is the current path, thank youk