I'd recommend you to install something like the Core Control WordPress plugin, which allows you to debug all the existing HTTP transports. It's quite possible that while one transport is not working, another might be OK. This plugin allows you to disable the broken one and test the HTTP API with the new transport.
I have a Wordpress site on localhost. It has been a few months since I last did any changes on it and now I want to update to a new Wordpress version. When I try to do so, it says "Installation failed. No working transports found.". I have tried to solve the problem with solutions found on internet:
I have also tried uncommenting extension_dir= "ext" from this source: WordPress error on localhost, XAMPP: "Installation failed: Download failed. No working transports found"and it loads me whole another fatal error
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 foundAnd when trying to update WordPress to the latest version, it was giving me this message:Download failed.: No working transports found
Installation FailedIt 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 fileThe 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:Open File Explorer and locate the PHP folder. The path is usually C:\php.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=opensslNote: 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.Uncomment that line by removing ; character and save the changes.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 extensionIf you still have issues, also try to enable the curl extension.
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:If the cURL extension is missing, check out the cURL extension not working when enabled article.ConclusionWhen 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.TweetSharePinRedditTags: php.iniWordPress - Issues and ErrorsRelated PostsJuly 10, 2017WordPressWordPress : How to fix broken permalinks with posts & pagesRead MoreSeptember 3, 2016WordPressWordPress : How to solve missing Admin Bar / Toolbar at the top of the pageRead MoreSeptember 19, 2021OtherWindows : Fixing PHP cURL extension not working when enabledRead More63 CommentsClick HERE to add your Commenthamza korasawalaApril 14, 2017ReplyThank you so much. It is really helpful.nartuApril 18, 2017ReplyIt works, thank you very much!MauricioApril 22, 2017ReplyThanks, it solved my problem.yzaApril 22, 2017ReplyThanks a lot ! It works !fixedApril 27, 2017ReplyAwesome!! Enabling extension=php_curl.dll worked! Thanks a lot!MadMay 20, 2017ReplyTHANK YOU A LOT !HansMay 24, 2017Reply... auf einmal geht's. Thanks a lot!JeratinMay 28, 2017ReplyThank You very much..!!!PedroJune 9, 2017ReplyThanks, it Works.MickJune 12, 2017ReplyThank you that worked for Wamp Server as well.LulidanJune 13, 2017ReplyThanks, very helpful.joshuaJune 13, 2017ReplyGod bless you my friend!Ali AlizadaJune 14, 2017ReplyHey, thanks. It helped to solve my problem.nadineJune 20, 2017ReplyThanks a lot.MoazzamJune 27, 2017ReplyIt works. Thanks.Kirti BhargavJuly 16, 2017ReplyIt works. Thank you!zinabu TekaJuly 26, 2017ReplyThank you very much. This solution was what I was really looking for!earth JuiceAugust 2, 2017ReplySweet, worked with php 5.6 ?MouradeAugust 4, 2017ReplyThank you very much. Very useful.jackAugust 24, 2017ReplyI'm using Windows 7 and I don't find any folder named easyphp...adminAugust 24, 2017ReplyHi,Did you install EasyPHP? If so, the default path in Windows 7 should also be at: C:\Program Files (x86)\EasyPHP-Devserver-17. If you installed PHP manually from php.net, then check the folder where PHP is installed.Alternatively, go to File Explorer and search for "php.ini" file.FabioSeptember 20, 2017ReplyWorks well when activating openssl! Thanks!BagherpourShiraziOctober 12, 2017ReplyThank you so much!!!!! ^_^
It fixed!!!!!!!
Wow, thank you.LaurentOctober 15, 2017ReplyThank you very much. Time saved !dentudixNovember 10, 2017ReplyAamzing! It works
Thanks a lotAbhinavNovember 14, 2017ReplyThanks! It works.GregNovember 27, 2017ReplyThanks a lot! It is really helpful!iona sequeiraJanuary 27, 2018ReplyThank You. This helped.benFebruary 6, 2018Replyi use wamp server and i have the exact same issue..what do i do?adminFebruary 6, 2018ReplyJust locate the php.ini file on the wamp server. If I remember correctly, the wamp has an icon from where you can select php.ini and edit it.PatriceFebruary 24, 2018ReplyHuge thanks. Many time saved !MattFebruary 28, 2018ReplyThank you so much!! It works !Eduardo Weidman BarijanMarch 15, 2018ReplyThank you! I am not using EasyPHP but it helped me solving the problem as well as I have independent installs of PHP and Apache. Turns out the php.ini had the extensions names all missing the php_ prefix. Adding that and now it is working in localhost.DivineMarch 16, 2018ReplyReally worked in my win7 thanks manIraMarch 23, 2018ReplyThanks so much. It worked!!!ElhamApril 14, 2018ReplyThanks so much. Its very good.joshuaApril 30, 2018ReplyThanks a lot it worked and clear me off a lot of stressDavidMay 19, 2018ReplyThanks it works , devserver 17.0Land EldersJune 6, 2018ReplyThanks so much Bro. This helped me a great deal.New DeveloperJune 18, 2018ReplyWorks well even for WAMP. Thanks for a cup of coffee.BillyBallBagOctober 5, 2018ReplySpot on!olawaleOctober 12, 2018ReplyHow do i enable extension=php_curl.dll?adminOctober 12, 2018ReplyJust remove the semicolon ; at the beginning to uncomment the line in php.ini.kkOctober 14, 2018Replythanks a lot. it works.katillaNovember 29, 2018Reply2018. 11. - devserver 17.0 - Thanks it worksDanFebruary 21, 2019ReplyThis is wonderful pal.
Thank for the info... try also to enable curl extension extension=php_curl.dll did the job !!
you are the bestairaJune 8, 2019ReplyIts not working on my pc.Shahid AliJuly 1, 2019ReplyI have edited php.ini and uncommented extension=php_curl.dll but still not working and giving same errorInstallation failed: Download failed. No working transports foundadminJuly 1, 2019ReplyHi,Have you also tried to uncomment extension=php_openssl.dll line?Also, after you restart the Apache, check with if the extensions you uncommented are listed when running phpinfo() command.DavidJuly 10, 2019Replyworked for me.
why is it working?
I'm also wondering why there's no any warning message points out the reason of not able to connect to internet..really thanksEricJuly 26, 2019ReplyI've recently upgraded my php version to 7.3.7. Earlier it was 5.5.12. Both versions are running on my wamp server. I had copied the php.ini and wampserver.conf files from my earlier version and made some change so that new version works. I've followed everything you've said for the "no working transports found", I even searched for other resources. But still I'm unable to solve it. Pls help me.adminJuly 27, 2019ReplyHi,Did the "no working transports found" only appear after the PHP version upgrade to 7.3.7.? Also, try to use phpinfo() command to confirm that the openssl or curl extension are really enabled.Ndjenaro Nang-MbaAugust 16, 2019ReplyThanks a lot my friend. You saved me a lot of time! Congrats!AsmaDecember 17, 2019ReplyThank you so much.Amit CohenJanuary 12, 2020ReplyYou are my hero for the day
?Thank youAbhishekJune 11, 2020ReplyTried uncommenting extension=openssl, extension=curl but facing the same issue,and on running "WP CORE DOWNLOAD" it gives error "Error: Failed to get url ' -check/1.7/?locale=en_US': No working transports found."Burhan ahmedJune 27, 2020ReplyThank u soo much man you such a genius!
i wanted to add something in new version of easyphp 17 there is 4 files of php just goto in C:\Program Files\EasyPHP-Devserver-17\eds-binaries\php select yours php version php 5 or php 7 now you will see there are four files of [ php configuration , php ini bak , php ini development , and php ini production ] open these files one by one on notepad and remove this ( ; ) from [ extension=php_curl.dll and extension=php_curl.dll ]
and save it. now restart your server and it will work perfectly.
i wanted to thanks again to the blogger for this solution it was really a headache thing.WalterSeptember 12, 2020ReplyI ran into same problem but using USBWebser. I followed your instructions and the problem was fixed.
In USBWebserver go to the directory where you installed USBwebserver, go to map Settings and in the file php.ini uncomment
;extensions=opensslThank you for your help!Robert LDecember 2, 2020ReplyThanks saved my day ?YoyoboyFebruary 21, 2021ReplyThank you so much.Stephanie BoucherAugust 23, 2022ReplyHello,
I am getting this error message but on my version of php.ini, extension=openssl is not commented out. There is no ";" to remove, and yet I still have the error message. Do you have any advice for this situation?adminAugust 23, 2022ReplyHi,Have you also tried to enable extension=curl extension? If this extension is enabled and it is still not working, try checking this cURL extension not working when enabled article.JonasDecember 27, 2022ReplyHello,I installed the Server with the description "How to install WordPress, PHP, Apache & MySQL on Windows" from your website and everything except for the problem "No working transports found" worked. I uncomment OpenSSL and CURL but it doesn't work. Do you have any other ideas?Write a CommentCancel reply
 983975eaba