libcurl for WAMP / cURL for WAMP

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!
Thanks so much for posting this information, it took me two minutes to get this running!
On my system php.ini is located in the following directory:
wamp\bin\apache\apache2.2.6\bin
My php.ini was located in different location:
D:\wamp\bin\apache\apache2.2.8\bin\php.ini
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.
Thanks–this was a big, quick help.
Man, it always bumms me out if i show up to a site called haxed, and it’s about windows.. :(
For shame.
@sikanrong: I dont get your comment, can you please be more detailed? (wtf?)
Very good post, thank you!
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
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.
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.
Hi. I was sent to this site fro joomla with a problem getting my site to show in front page, the message I received was (Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs\joomla15\modules\mod_rokweather\googleweather.class.php on line 225 )
I have been advised to install the file from this post but I see that it is for WAMP I am using XAMPP DOSE THIS MAKE ANY DIFFERENCE and WILL IT STILL WORK. I am a newbie and this is my first site. Thanks in advance for any help.
Sorry to post again but I could not find a edit button on my earlier post. I have tried to follow the instructions given at your site but as I went to copy past the downloaded files into the folder I find that I am missing the last file, I can only find C:\xampp\apache\bin but not
C:\wamp\bin\apache\apache2.2.6 , in the other file C:\xampp\php there is only one file inside named php and when I double click I get a comand prompt box that has C:\xampp\php\php.exe , hope this information will help
marcus,
many thanks for your reply!
no worries with the edit, I will add an edit functionality today I think.
Thanks for the good post. I’ve already install the curl. But I don’t know how to setting up curl with cron job in WAMP.
Could you please telling me ?
Thanks before.
same prob again….
Nice one!
Worked a treat on apache 2.2.8 using wamp and the 7.19.7 libcurl version.
glad it worked mate and happy new you to you :) (belayed)
yodude, sorry cant really help you with that, did you find a solution yourself?
i have had no trouble with that yet :/
hello jake,
thanks for sharing your knowledge,
I am sure others will benefit from your comment, cheers again