I m not able to upload files to wordpress beyond 1Mb as the uploader is limiting me.
I have checked the phpinfo() and it showing 1000M but still the wordpress uploader is showing 1Mb as the max upload size.
Strangely i could not update the max_execution time to 1000 even though i have changed the
some in php.ini
Is there some way the hosting providers are blocking some changes to php.ini file.
The info as shown here:
http://nvoids.com/blog/wp-admin/test.php
thanks
I guess you use multi-site wordpress.
In this case, you can set “Max upload file size” in
Network Admin -> Settings -> Network Settings.
The php setting is rewritten by the wordpress multi-site manangement function.
I met the same problem, hope this helps you.
WordPress uses two php.ini values to determine the max upload size:
upload_max_filesize
andpost_max_size
. See https://github.com/WordPress/WordPress/blob/master/wp-includes/media.php#L1141-L1146. Here’s the method from WordPress’s source that determines the max upload size:Please add this code in your function.php file
You can change the settings the easier way if your host is GoDaddy cPanel:
For example:
I have added the screenshots here: