How to Enable CURL in WAMP?
Posted by
om 8 February, 2011
CURL is not enabled by default in WAMP. Every php programmer have to use CURL to make remote connection.
The steps are as follows :
1) Close WAMP (if running)
2) Navigate to WAMP\bin\php\(your version of php)\
3) edit php.ini
4) Search for curl, uncomment extension=php_curl.dll
5) Navigate to WAMP\bin\Apache\(your version of apache)\bin\
6) edit php.ini
7) Search for curl, uncomment extension=php_curl.dll
8 ) Save both
9) Restart WAMP
That will solve your Curl issues.
Enjoy!
Categories :
PHP
Trackbacks & Pingbacks
- Pingback by How to enable and use CURL to retrieve JSON in WAMP? | Noodle.Sup? on May 16, 2012 @ 1:07 pm
- Pingback by How to Enable CURL in WAMP? ← ALI - Blog on November 18, 2012 @ 6:47 am

hi i do the above changes,
but still i got the same error
like
Fatal error: Call to undefined function curl_version() in C:\wamp\www\html\index1.php on line 11
plz help me how i do it
You should restart your machine. If still not working please let me know.
Not working for me even after restart.
Fatal error: Call to undefined function curl_version() in E:\wamp\www\curl-check.php on line 3
What type of server you are using WAMP, MAMP, XAMP ?
Do you have php_curl.dll in your system ?
Please check and let me know.
I am using XAMPP and having the same problem as George. It’s running on Windows 2008 R2 64 bit, and I’m suspecting it’s due to heightened security in Windows. Any ideas what I need to do to get it to work? Thanks!
Never mind – it turns out the php extension path was not correctly defined.
For me it still doesn’t work. I am using WAMP.
i have vertrigo. it’s not working :S please help
thanks , saved my day
Hi forks I am trying to install Magento 1.6.1.0 in wamp server 2.1 in windows xp pro pack 3 and in next step of installing Localization Magento is requesting (PHP extension “curl” must be loaded. please set all required settings before clicking continue) and I have enabled php_curl in php.ini file
Is anyone with idea to under beneath this.
Thanks
Thanks It worked for me!
But you should mention remove semi colon ; instead of uncomment.
wamp installer doesn’t have Curl by default first you need to download binaries and then configure..
look at this
http://www.technoreaders.com/2009/07/26/curl-on-wamp/
they explained how to do that.
works great. Thanks. most often people does mistake to edit the 2nd php.ini you need to figureout which is the correct path and that can be easily done if you use http://localhost/?phpinfo=1 and search for “Loaded Configuration File” this gives the perfect locatio nthe nini file
works great.
thank u friend
Thanks buddy. its worked for me. If you are using wamp then you have to edit the file located at: \wamp\bin\apache\Apache2.2.17\bin\php.ini
Just right click on wamp icon->PHP->PHP Extensions->php_curl
Thank You So Much My Friend …
Thanks
Perfect !!!!!!!!!!!!!!!!!!
It works perfect. Thanks
Please it’s not working am using WampServer Version 2.2
Awesome !!!
This still does not work for me. Please Help
Thanks… great
I’m using WAMP 2.2 and I too had the same problem.
I downloaded php_curl-5.4.3-VC9-x64.zip from http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/
Replace php_curl.dll in wamp\bin\php\php5.4.3\ext with the one I downloaded.
Restart WAMP and It’s working
this solution worked for me-
ownloaded php_curl-5.4.3-VC9-x64.zip from http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/
Replace php_curl.dll in wamp\bin\php\php5.4.3\ext with the one I downloaded.
Restart WAMP and It’s working
I am glad this post is working for you guys.
Thanks for looking into.
Please keep reading!!
Hi, I just replaced the php_curl.dll file. Now it is working fine.
Eman de Guzman – thanks, that finally worked for me!
Great it worked for me.
very helpful post…
shit… I love you
i don’t have php.ini only a php file :/
man de Guzman, you are right. I have done it and its working for me too. Thank you so much
replace the php.curl file in the php folder(under ext) of wamp, replace with an older version of php-5-4-0 if you are using 5.43 or so. instruction is here-http://www.o3n.org/2012/06/wamp-server-2-2-windows-7-64-bit-and-curl-also-for-windows-8/-
“Santi
Posted March 8, 2013 at 8:57 PM
Thank you for this post. My situation was the same than Bruno: the one which worked was: http://www.anindya.com/php-5-4-0-x64-64-bit-for-windows/ (Wamp 2.2, Windows 7, PHP 5.4.3).
Thanks a lot.
“
hey my friend
i am using wampserver 2.2 in windows 8 64-bit
my wamp server is running online very well but when i going to open localhost,at that time localhost is not opening in browser and browser shows that “This page is not available”
and also when i try to put it offline at time it shows some error like “could not execute menu item(internal error)
[Exception]Could not perform service action:This service has not been started”
That’s OK. Fine
Thanks! (Wamp 2.2)
remove the ;. Yes, and click Wamp server icon/PHP -> PHP extensions -> click the php_curl.
**Do not worry** too much
**Just replace your curl.dill file with this**
http://www.exposl.info/2013/04/curl-not-loading-error-in-apache-wamp.html cheers !!