After updating ownCloud to 8, the max file upload suddenly ignored my
customizations efforts that were working flawlessly with ownCloud 7.
Instead of the configured 4G, ownCloud would cap the max file upload size
to 513M (a very odd looking number for the geeky eye). A quick
phpinfo() revealed that both
locally set to 513M. To the best of my knowledge, the only way to
locally override theses options was by using a
.htaccess file but since my setup does
not use Apache + mod_php but nginx + php-fpm instead (and thus should
ignore .htaccess), I was rather confused.
there comes .user.ini
Well, since PHP 5.3.0 there is a file that get to override php.ini stuff: the .user.ini files. So, there are two solutions:
- remove ownCloud's .user.ini file and live in the fear of any update (re)installing it.
- disable those evil .user.ini files from php.ini: