Nextcloud php-fpm (php.ini)configuration not working for File upload limit

I changed the (max_upload_filesize=1G) and (post_max_size=1G) but still its not working, if i add a file size with more than 1Gb its uploading. How do i fix it?
Rocky Linux
Nextlcloud version - 28.0
php version - 8.1.27

Are sou edited the correct file (e.g. Version)?
Did you restart the webservee?

And why are you starting a new post when this is part of your current post?

yes i restarted both php-fpm and httpd

You need to edit

/etc/php/8.3/fpm/php.ini

and restart

service php8.3-fpm restart

he uses PHP 8.1 so 8.3 will have no effect

1 Like