How to Enable CURL in WAMP?

Posted by 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.

Categories : PHP Tags :

April 4, 2011

hi i do the above changes,
but still i got the same error
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

Posted by mehran
April 7, 2011

You should restart your machine. If still not working please let me know.

Posted by om
April 19, 2011

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

Posted by george
April 20, 2011

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.

Posted by om
April 22, 2011

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!

Posted by Trevor
April 22, 2011

Never mind – it turns out the php extension path was not correctly defined.

Posted by Trevor
May 29, 2011

For me it still doesn’t work. I am using WAMP.

Posted by Phil Ivey
September 11, 2011

i have vertrigo. it’s not working :S please help

Posted by tamashebi
October 20, 2011

thanks , saved my day

Posted by admire
November 5, 2011

Hi forks I am trying to install Magento 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.


Posted by Jada'King Jr
November 7, 2011

Thanks It worked for me!
But you should mention remove semi colon ; instead of uncomment.

Posted by Sakshi Thakur
December 5, 2011

wamp installer doesn’t have Curl by default first you need to download binaries and then configure..

look at this

they explained how to do that.

Posted by jhon
December 22, 2011

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

Posted by anonymous
January 21, 2012

works great.

Posted by Harish
March 5, 2012

thank u friend

Posted by ganesh
March 21, 2012

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

Posted by Jatin Mankodiya
May 8, 2012

Just right click on wamp icon->PHP->PHP Extensions->php_curl

Posted by Nikhil
June 12, 2012

Thank You So Much My Friend …

Posted by Jalal Khan
June 21, 2012

Thanks :)

Posted by hazem
June 25, 2012

Perfect !!!!!!!!!!!!!!!!!!

It works perfect. Thanks :)

Posted by Revan
September 4, 2012

Please it’s not working am using WampServer Version 2.2

Posted by Ade
October 6, 2012

Awesome !!!

Posted by Vikash Anand
October 12, 2012

This still does not work for me. Please Help

Posted by Mike
October 15, 2012

Thanks… great

Posted by Sujay
October 23, 2012

I’m using WAMP 2.2 and I too had the same problem.

I downloaded from

Replace php_curl.dll in wamp\bin\php\php5.4.3\ext with the one I downloaded.

Restart WAMP and It’s working

Posted by Eman de Guzman
October 25, 2012

this solution worked for me-
ownloaded from
Replace php_curl.dll in wamp\bin\php\php5.4.3\ext with the one I downloaded.
Restart WAMP and It’s working

Posted by sunil
October 25, 2012

I am glad this post is working for you guys.
Thanks for looking into.

Please keep reading!!

Posted by om
October 29, 2012

Hi, I just replaced the php_curl.dll file. Now it is working fine.

Posted by nirmal
December 10, 2012

Eman de Guzman – thanks, that finally worked for me!

Posted by Geo
January 14, 2013

Great it worked for me.

Posted by Barry
January 18, 2013

very helpful post…

Posted by irfan
January 25, 2013

shit… I love you

Posted by Nicolas de Leon
February 16, 2013

i don’t have php.ini only a php file :/

Posted by Steve
March 13, 2013

man de Guzman, you are right. I have done it and its working for me too. Thank you so much

Posted by Uche
March 14, 2013

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-

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: (Wamp 2.2, Windows 7, PHP 5.4.3).
Thanks a lot.

Posted by freeman
April 1, 2013

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”

Posted by Pratik
April 6, 2013

That’s OK. Fine

Posted by william
April 8, 2013

Thanks! (Wamp 2.2)

remove the ;. Yes, and click Wamp server icon/PHP -> PHP extensions -> click the php_curl.

Posted by Ks Sylonell
May 11, 2013

**Do not worry** too much

**Just replace your curl.dill file with this** cheers !!

Posted by expsosl
August 4, 2013

Thanks Om ,it works for me on WAMP.

Posted by Gopal Sharma
August 6, 2013

I am glad!

Posted by om
September 8, 2013

Hi Friends,

Issue: While installing magneto CURL is not enabling. even uncommented in php.ini file.

I am using WAMP server2.2

My Problem solved after replacing the php_curl.dll in below path.


Downloaded from the URL

Thanks alot Guys:)

Its worked for me perfect when i ma replacing the DLL file

Posted by Balakrishna
September 14, 2013

i have done it for my php and apache dir, but still not working

Posted by ADEGOKE
September 14, 2013


Posted by ADEGOKE
September 15, 2013

thanks a lot..
You make my day bro!

It worked… :)

Posted by ketan patel
November 24, 2013

So eassssssssssyyyyyy!!!!

Posted by Harpreet Kaur
November 30, 2013

Wonderful tutorial.. very easy and accurate… Worked well for me.. Thanks

Posted by Sourish
December 9, 2013

this solution worked for me-
ownloaded from
Replace php_curl.dll in wamp\bin\php\php5.4.3\ext with the one I downloaded.
wamp server 2.2 Os:win2008 server sp2
Restart WAMP and It’s done.
Thank you very much.

Posted by perkins
December 29, 2013

Thanks sunil,
your solution did the job.

Posted by David
January 8, 2014

This is the one that worked for me I think because I kept downloading different curl dll files and no fix after restarting and enabling stuff.
Copied the following to windows/system32 folder and restarted wamp and it worked (from php folder in wamp)
(downloaded file or in ext folder)

Still though, my site shows up but wp admin doesn’t work in localhost. Any help is much appreciated.

Posted by e11world
February 11, 2014

Thank you very much!

Posted by vtoanstar
February 18, 2014

yeah its working

February 18, 2014

its working thank you very much!

February 18, 2014

thanks a lot.. SUPER

Posted by URL Shortener
February 26, 2014

Wooow… Great tutorial. Its explain clearly… Good job

Posted by Venkat
May 8, 2014

Good tutorial, thanks

Posted by venu
May 8, 2014


Posted by don
May 26, 2014 me a lot.

Posted by mj
August 2, 2014

thanks. :-)

Posted by Mathan
August 16, 2014

i have still same problem any other way to solve this problem i am going to instal stoke software and i am getting error ” CURL PHP exention missing!”

Posted by Hafeez Baig
February 18, 2015

Hllo Therе. I discovered yoսr weblog the use oof msn. Thatt is ɑn extremely neatly ԝritten article.

I’ll Ƅe suге tο bookmark it and return tߋ гead extra of youг useful info.
Tank you for thе post. ӏ’ll definitely return.

Posted by Anonymous
March 13, 2015

Thank-you vary much !!
I have search a solution like this since 3 hours.

Because I have not the right to install application in my computer and I have only wamp.

Good Work.

Posted by Linebarrels
March 13, 2015

Very good article! We will be linking to this particularly great post on our
website. Keep up the good writing.

Posted by Donte
March 17, 2015

Good Job Keep it up…….

Posted by Lisa Roberts
Leave a comment