WordPress : How to fix "No working transports found" error when updating Plugins

easyphp-wordpress-update-failed-no-working-transport-found-error

Recently, I installed an EasyPHP devserver on my local machine running Win10 to work on a WordPress theme. The WordPress site was mostly working without a problem except in a dashboard section of the site, where it was having some issues with updating. When I tried to update plugins to a newer version, the update failed, giving me, there were "no working transports found" message. Fortunately, the fix is simple and it should also apply for WAMP or if you installed the PHP separately.

The exact error message the WordPress displayed was this:

Update Failed: Download failed. No working transports found

And when trying to update WordPress to the newest version, it was showing this message:

Download failed.: No working transports found
Installation Failed

It turns out, this error message occurs when there are missing extensions on PHP, so the 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 of the EasyPHP application. On Windows 10, it should be:
    C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-binaries\php
    If you installed the PHP separately, the path is usually C:\php or C:\php7
  2. You will see two folders inside, one for PHP version 5.6.19 and one for the 7.0.4 version. Select the one the Apache server is using. If you are unsure, open the EasyPHP Dashboard and check the PHP number under "HTTP SERVER".
  3. Open php.ini file in your favorite text editor and search for php_openssl.dll text. You should see that the extension is commented out:
    ;extension=php_openssl.dll

    Note: On PHP versions 7.2.0 and newer, you can either use the extension name or the extension's file name, so you might have extension=openssl in the the php.ini file instead.
  4. Uncomment that line by removing ; character and save the changes.
  5. 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. If you still have issues, try also to enable curl extension extension=php_curl.dll.

Note: To restart the Apache, right-click on the EasyPHP notification icon, then select Open Dashboard to stop / start the Apache server.

Conclusion

When using a server like EasyPHP, WAMP or even if you installed PHP yourself to run WordPress website, 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 enable an extension or two.

If you have found this article useful, drop a comment or share it on social networks.

53 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

Write a Comment

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