another idea: .user.ini files are inherited to sub-directories, so make sure that there is no .user.ini file in a parent directory, which is overwriting your settings.
Somewhat related:
https://help.nextcloud.com/t/php-configuration-option-output-buffering-must-be-disabled-nextcloud-20-0-1-ubuntu/97918