WordPress: Fixing "No working transports found" during failed update

WordPress - Fixing no working transports found

Recently, after installing WordPress on my local machine on Windows 10, I noticed that the WordPress had some issues with updating plugins and WordPress to a newer version. When I attempted to update plugins to a newer version, the update failed with the following warning message "no working transports found". Fortunately, the fix is simple and should also apply if you are using EasyPHP or WAMP development environment.

The exact error message the WordPress displayed when attempting to update plugins was:

Update Failed: Download failed. No working transports found

WordPress plugin update failed - no working transports found

And when trying to update WordPress to the latest version, it was giving me this message:

Download failed.: No working transports found
Installation Failed

WordPress update to latest version - download failed - no working transports found

It turns out, that this error message occurs when there are missing extensions on PHP, so WordPress is unable to make external HTTP requests. The solution is pretty simple. The missing extensions that make those HTTP requests possible already exist in PHP, they are just disabled. To enable them, we need to edit the php.ini configuration file.

Editing php.ini file

The php.ini file contains a list of many extensions with some of them disabled by default. The only one I had to enable was the openssl extension.

Here are the steps to enable that extension:

  1. Open File Explorer and locate the PHP folder. The path is usually C:\php.
  2. Open the php.ini file in your favorite text editor and search for extension=openssl text. You should see that the extension is commented out:
    ;extension=openssl
    

    Note: On PHP versions older than 7.2.0, you might have the extension's file name extension=php_openssl.dll in the php.ini instead.
  3. Uncomment that line by removing ; character and save the changes.
  4. All that is left is to restart the Apache server and we are done.

After going through the steps above, the WordPress site on my development server was able to update plugins without any problem.

Note: To restart the Apache, you could use the "ApacheMonitor.exe" utility that is included with the Apache server as shown here.

If it still not working - enable cURL extension

If you still have issues, also try to enable the curl extension.

extension=curl

In some cases, the cURL extension won't work. We can confirm that the cURL is working by using the phpinfo() function that outputs all the PHP configuration information and check if the curl extension is displayed:

The phpinfo() function showing cURL extension

If the cURL extension is missing, check out the cURL extension not working when enabled article.

Conclusion

When installing PHP, Apache, MySQL locally to run a WordPress website or even if you use EasyPHP, WAMP web development environments, you might run into a trouble when trying to update plugins or WordPress core files to the newest version by getting the No working transport found error message. Fortunately, we can easily fix this by modifying the php.ini file and enabling an extension or two.

This article was first published in January 2017 and has since then been republished and updated.

63 Comments

Click HERE to add your Comment
  1. hamza korasawala
    April 14, 2017
  2. nartu
    April 18, 2017
  3. Mauricio
    April 22, 2017
  4. yza
    April 22, 2017
  5. fixed
    April 27, 2017
  6. Mad
    May 20, 2017
  7. Hans
    May 24, 2017
  8. Jeratin
    May 28, 2017
  9. Pedro
    June 9, 2017
  10. Mick
    June 12, 2017
  11. Lulidan
    June 13, 2017
  12. joshua
    June 13, 2017
  13. Ali Alizada
    June 14, 2017
  14. nadine
    June 20, 2017
  15. Moazzam
    June 27, 2017
  16. Kirti Bhargav
    July 16, 2017
  17. zinabu Teka
    July 26, 2017
  18. earth Juice
    August 2, 2017
  19. Mourade
    August 4, 2017
  20. jack
    August 24, 2017
    • admin
      August 24, 2017
  21. Fabio
    September 20, 2017
  22. BagherpourShirazi
    October 12, 2017
  23. Laurent
    October 15, 2017
  24. dentudix
    November 10, 2017
  25. Abhinav
    November 14, 2017
  26. Greg
    November 27, 2017
  27. iona sequeira
    January 27, 2018
  28. ben
    February 6, 2018
    • admin
      February 6, 2018
  29. Patrice
    February 24, 2018
  30. Matt
    February 28, 2018
  31. Divine
    March 16, 2018
  32. Ira
    March 23, 2018
  33. Elham
    April 14, 2018
  34. joshua
    April 30, 2018
  35. David
    May 19, 2018
  36. Land Elders
    June 6, 2018
  37. New Developer
    June 18, 2018
  38. BillyBallBag
    October 5, 2018
  39. olawale
    October 12, 2018
    • admin
      October 12, 2018
  40. kk
    October 14, 2018
  41. katilla
    November 29, 2018
  42. Dan
    February 21, 2019
  43. aira
    June 8, 2019
  44. Shahid Ali
    July 1, 2019
    • admin
      July 1, 2019
  45. David
    July 10, 2019
  46. Eric
    July 26, 2019
    • admin
      July 27, 2019
  47. Ndjenaro Nang-Mba
    August 16, 2019
  48. Asma
    December 17, 2019
  49. Amit Cohen
    January 12, 2020
  50. Abhishek
    June 11, 2020
  51. Burhan ahmed
    June 27, 2020
  52. Walter
    September 12, 2020
  53. Robert L
    December 2, 2020
  54. Yoyoboy
    February 21, 2021
  55. Stephanie Boucher
    August 23, 2022
  56. Jonas
    December 27, 2022

Write a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.