If you’re having issues upgrading your WordPress via the automatic upgrade from the Updates section, which prompts the following error, “Download failed. Couldn’t resolve host ‘downloads.wordpress.org’”.
Not to worry. You just need to increase the memory limits of your server.
- If you have access to the cpanel, go to php.ini EZConfig, under ‘Software/Services’.
- Enable it
- Change your ‘memory_limit’ to 64M
- Just to be safe, increase the ‘post_max_size’ and ‘upload_max_filesize’ to 64M
All is now resolved. You can now upgrade with no problems!
If you don’t have access to a cpanel, just inform your server host to make the changes for you.