Nextcloud 27.1.1 - Can't change the upload_max_filesize (php 8.2)


I’m having trouble with increasing the upload_max_filesize of Nextcloud. I followed a Filamore tutorial however it doesn’t work for me.

My version of php is 8.2 (/etc/php82 in the Nextcloud command line) and changing the values in the php.ini file found in this directory doesn’t affect the upload limit.

I suspect that the php.ini data is not used since in the default value for upload_max_filesize in the php.ini file was at 2M, while on my WebUI it appeared to be at 536.9 MB.

I don’t seem to be the only one having this issue as per the comments in the video mentioned above.

Has anyone found a solution for this?

All the configuration files you need to edit are withing the /config mount of the container.
Edit the relevant files you need to in the nginx/php folders.

Thanks for your reply.

I navigated to /config/php and edited the php-local.ini by adding the following lines:

upload_max_filesize = 16G
post_max_size = 16G
memory_limit = 2048M