1
I've been trying to increase the maximum upload size of my Wordpress instance, and I've already tried all methods mentioned in the results I get when searching this issue.
I've tried changing the php.ini file, the .htaccess, the wp-config.php, etc. and it's still doesn't change from 2MB.
This might be important:
If I run php -i
and find the upload_max_filesize, it shows up with the increased value, but when I print a phpinfo();
, it displays the default 2MB, even though both display the same path in "Loaded Configuration File".
Do you have any idea on what I'm missing? It's getting very frustrating.
Thanks in advance
When you changed your
php.ini
file did you restart the Apache process? – Kinnectus – 2019-02-06T15:26:22.883What are your
php.ini
values forupload_max_filesize
andpost_max_size
? – Kinnectus – 2019-02-06T15:27:20.310@Kinnectus I did restart.
upload_max_filesize
is 256M andpost_max_size
is 256M also – joao-m-santos – 2019-02-06T15:43:19.140Also, you say you changed
php.ini
yet when you runphpinfo
it doesn't show the updated value. As MrNiceGuy points out it could be permissions on the file OR, if you look at thephpinfo
output, you may have edited the wrong file? Make sure the file is the one identified inphpinfo
... – Kinnectus – 2019-02-06T15:48:00.430Have you checked in the WordPress dashboard, Settings, the value of “Max upload file size”? You may also change it here. – harrymc – 2019-02-06T19:03:54.140
@harrymc I do not have that option in my Wordpress v5.0.3 Settings – joao-m-santos – 2019-02-07T09:27:59.750