Julian Klewes

libcurl for WAMP / cURL for WAMP

Tagged

Categorized
Dated 2 years ago






Times read: 1774
Read today: 5
Read last: March 19, 2010

libcurl for WAMP / cURL for WAMP

popup tail

wamp server libcurl

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!

People asked me to put up a donate button or something similar, so here it is: if you care to buy me a beer or Red Bull (I drink the Dutch equivalent called Spam Energy), feel free to donate, anything is appreciated!



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

Interact - Leave a comment

Engage in the conversion and leave a comment.
I would much love to hear from you. Please note however that comments are moderated by default. Advertising and rant is welcomed, yet often discarded...
See left/right for additional information













2

2 years ago
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

2 years ago
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

1 year ago
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

1 year ago
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

1 year ago
June 4th, 2008 5:29 pm

Ben Steed

Thanks–this was a big, quick help.

12

1 year ago
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

1 year ago
July 7th, 2008 11:22 am

jez

@sikanrong: I dont get your comment, can you please be more detailed? (wtf?)

16

1 year ago
January 8th, 2009 11:19 pm

Andy Potanin

Very good post, thank you!

18

1 year ago
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

1 year ago
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

11 months ago
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

7 months ago
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

6 months ago
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

28

4 months ago
November 16th, 2009 1:22 am

marcus

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.

30

4 months ago
November 16th, 2009 3:34 am

marcus

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

32

3 months ago
November 23rd, 2009 4:39 am

h4x3d.com

marcus,
many thanks for your reply!
no worries with the edit, I will add an edit functionality today I think.

34

2 months ago
December 19th, 2009 3:21 pm

Zhoemar

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.

36

2 months ago
December 21st, 2009 11:35 pm

mr

same prob again….

38

2 months ago
January 1st, 2010 5:54 pm

Reece Marsland

Nice one!

Worked a treat on apache 2.2.8 using wamp and the 7.19.7 libcurl version.

40

2 months ago
January 13th, 2010 6:22 am

h4x3d.com

glad it worked mate and happy new you to you :) (belayed)

Trackbacks & Pingbacks

  1. *?(&I I hate local servers and modules management pingbacked Posted March 20, 2008, 5:40 am

comment? jump to the form



archives | sitemap
contact | tos

Top

lorem

solarVPS.com - reliale enterprise hosting
you know the game, get in touch with me
3