
If you like to develop websites locally on your Windows machine and use WAMP (Windows Apache MySql PHP),
but stumble to get some plugins in Wordpress going and you get the error “Your server is crap you need libcurl/cURL for apache”, do the following
- [x] download and install libcurl / curl for windows: Go to http://curl.haxx.se/download.html and scroll down to ‘Windows’, grab the “libcurl” not “binary”, e.g. This file for Windows XP/2000
- [x] Paste the zip file content into C:\wamp\bin\apache\apache2.2.6
- [x] Locate and open your php.ini file (resides in C:\wamp\bin\php\php5.2.5)
- [x] In your php.ini file, change/ uncomment the following line:
- [x] ;extension=php_curl.dll (you do so by removing the semi-colon)
- [x] Finally, you need to restart Apache or the whole server if you care
- [x] ENJOY!
If you enjoyed this post, make sure you subscribe to my RSS feed!

h4x3d.com does not host any illegal content. Links/Files referred to are for educational purposes only.




2
February 16, 20081:55 am
February 16th, 2008 1:55 am
Paul J. Martinez
Thanks so much for posting this information, it took me two minutes to get this running!
4
February 23, 200812:38 am
February 23rd, 2008 12:38 am
Ken Chase
On my system php.ini is located in the following directory:
wamp\bin\apache\apache2.2.6\bin
6
April 13, 20081:58 pm
April 13th, 2008 1:58 pm
Vlad Rafeyev
My php.ini was located in different location:
D:\wamp\bin\apache\apache2.2.8\bin\php.ini
8
April 20, 20083:08 pm
April 20th, 2008 3:08 pm
tynamite
I was going to be nooby and say “It doesn’t work” after restarting the server three times untill I held shift then clicked Reload to reload the page and clear the cache. I was using Safari. The trick works in all browsers.
10
June 4, 20085:29 pm
June 4th, 2008 5:29 pm
Ben Steed
Thanks–this was a big, quick help.
12
July 4, 200810:26 pm
July 4th, 2008 10:26 pm
sikanrong
Man, it always bumms me out if i show up to a site called haxed, and it’s about windows.. :(
For shame.
14
July 7, 200811:22 am
July 7th, 2008 11:22 am
jez
@sikanrong: I dont get your comment, can you please be more detailed? (wtf?)
16
January 8, 200911:19 pm
January 8th, 2009 11:19 pm
Andy Potanin
Very good post, thank you!
18
February 5, 20097:32 pm
February 5th, 2009 7:32 pm
yodude
pretty neat my bad…
but would u know how to upgrade an already intalled curl version 7.16 to 7.19.x ?
Tried the obvious: download dlls ( libcurl , libeay32 , libssl32) and pasting them into /apache/bin/ and into /windows/system32/
restarterd ma wamp server and nothing…. phpinfo() still show curl version 7.16
best
20
February 8, 200912:02 am
February 8th, 2009 12:02 am
jez
yodude, sorry cant really help you with that, did you find a solution yourself?
i have had no trouble with that yet :/
22
April 13, 20092:44 am
April 13th, 2009 2:44 am
Freehill Media Website Design
Nice post, we used this article as a reference for one of our clients. They managed to update their touch-screen kiosk with no hassles.
24
August 11, 20098:31 am
August 11th, 2009 8:31 am
Jake
i dont think pasting the libcurl is necessary, just un commenting curl ext in php.ini is sufficient, php_curl is not linked to libcurl.
26
September 1, 200912:23 pm
September 1st, 2009 12:23 pm
jez
hello jake,
thanks for sharing your knowledge,
I am sure others will benefit from your comment, cheers again