Hi,
I have a Dietpi OS running on rp3 with nextcloud 27 along with lighttpd webserver.
I am to increase the file upload size to 10GB. However i ve got a bit lost in exactly how to do it, which file/files to modify. I “played” around with different settings in
/etc/php/8.2/mods-available/dietpi.ini
/etc/php/8.2/mods-available/dietpi-nextcloud.ini
/var/www/nextcloud/.user.ini
If you want to change it globally and not only for nextcloud, you would need to edit /etc/php/8.2/fpm/php.ini with the lines you already posted (without the php_value in front of every line)
i have the same issue. I need at least a bit more than 4 GB to- up and download vdisk images.
My /var/www/nextcloud/.user.ini has the following lines:
mbstring.func_overload=0
always_populate_raw_post_data=-1
default_charset=‘UTF-8’
output_buffering=0
php_value upload_max_filesize 16G
php_value post_max_size 16G
And i already restarted PHP
My /etc/php/8.2/fpm/php.ini has
upload_max_filesize = 4G
post_max_size = 4G
(having 4G globally is more than sufficient for me)
My Nextcloud still says: max upload file size: 512 MB
What am i missing?