I have php.ini files in the following directories of my WordPress installation:
- /wp-admin
- /wp-content
- / (where there wp-config.php lies)
In all of them I set upload_max_filesize = 640M;
- 640MB is the maximum value that is allowed by my provider in my package (I called).
memory_limit = 268435456;
post_max_size = 67108864;
upload_max_filesize = 640M;
I did NOT configure an upload_max_filesize in wp-config.php or in .htaccess. I confirmed this value with phpinfo()
and with ini_get('upload_max_filesize')
.
Nonetheless, WordPress displayes 64 MB as maximum on the media upload page and on the WooCommerce status page.
I am utterly puzzled. I checked every post on stack but I couldn't find an answer to that dissonance. Help would be much appreciated.