Locate the php.ini file inside the wp-admin directory (if you do not find this file, see notes below)
Find this line in the php.ini file "upload_max_filesize = 2M" and replace it with a higher value (for example, "upload_max_filesize = 64M")
You can also increase your maximum message size. Find this line in the php.ini file "post_max_size" and increase it. Save the changes to the file in the wp-admin directory. Try downloading again. If you still have problems, locate this file in the root directory and make the same changes.
source share