I was recently involved in migrating some websites to a new dedicated server. After getting the new sites online, the owner of the server tried to perform a WordPress update but he following error occurred:
Download failed.: No working transports found
Upon investigation, it seems that by default the PHP ini that we were using had the module curl commented out and this needs to be available for the updates to run.
To resolve this you need to stop Apache and then edit the live php.ini file on your website and find the line that reads:
;extension=php_curl.dll
You can then remove the semi-colon from the front so you just have:
extension=php_curl.dll
Restart Apache and try the update again
Update 13/09/2017
Further to the above, the issue may persist if running under Windows and the PHP folder isn't registered as an environmental variable. I found this to be the case if falling back to an older verison of PHP under Uniserver.
To resolve this problem, you need to go system properties and then environmental varibles and add the PHP folder path to the "Path" option under system variables.
Its contains a lot, so don't delete it! just add a semi colon at the end and the extra path. In my case it was: ;C:\UniServerZ\core\php56
Download failed.: No working transports found
Upon investigation, it seems that by default the PHP ini that we were using had the module curl commented out and this needs to be available for the updates to run.
To resolve this you need to stop Apache and then edit the live php.ini file on your website and find the line that reads:
;extension=php_curl.dll
You can then remove the semi-colon from the front so you just have:
extension=php_curl.dll
Restart Apache and try the update again
Update 13/09/2017
Further to the above, the issue may persist if running under Windows and the PHP folder isn't registered as an environmental variable. I found this to be the case if falling back to an older verison of PHP under Uniserver.
To resolve this problem, you need to go system properties and then environmental varibles and add the PHP folder path to the "Path" option under system variables.
Its contains a lot, so don't delete it! just add a semi colon at the end and the extra path. In my case it was: ;C:\UniServerZ\core\php56
No comments:
Post a Comment