Written on Dec 02 about Codes & Development by

How to enable curl in WampServer or XAMPP or in any other localhost

I have been hired to work on some projects that requires some functionality of curl.

I am using wampserver and I was wondering how to enable curl in wampserver. I googled for few mins and found it. It’s all same for WampServer, XAMPP etc…

Follow the simple steps. (this is for wampserver and XAMPP is the same once you locate your php.ini file)

  1. Start the WampServer.
  2. In your system tray icon, click the WampServer icon -> PHP -> php.ini (see the image below)
  3.  The php.ini file will open up. In the file locate the line
    ;extension=php_curl.dll

    and remove the “;” in that line. Actually we are removing the comment symbol and make it available. now the line will look like this…

    extension=php_curl.dll 
  4. Now save the php.ini file and close it.
  5. Restart WampServer.
  6. Now look at the localhost homepage, in the extension list curl will be there.
  7. That’s it… curl is enabled in WampServer
Isn’t that cooooooooooool……?


Get Latest updates on Blogging, Traffic, Design and More...

  • Delivered Directly to your Inbox.
  • Latest Updates on Money Blogging Trend.
  • Free and Paid Traffic Tips.
  • Free Ebooks and Goodies.
  • Reviews and much more....
 
 

4 Responses to "How to enable curl in WampServer or XAMPP or in any other localhost" - What's Yours?
    Gordon99
    Dec 3rd, 2011

    Could you tell me what does curl does as I’m quite new to PHP and i’m using AMPPS as my localhost. Thanks in Advance :D

    Essai
    Dec 3rd, 2011

    cURL is a library that is used to transfer data from all types of protocols (HTTP, HTTPS, FTP)….

    It can be used inside server side scripting language or as an command line executions (you can use libcurl)

    Just to make it simple, here is am example…

    I use the cURL functions to get data from urls and parse them to extract data from it. More obvious example is, i use cURL to get product listing from amazon webservices to display products in a site.

    I hope I made it clear.

    Gordon99
    Dec 3rd, 2011

    Thanks :D

    new release
    Feb 4th, 2012

    coooollll,…
    i need this tips for make my wp robot plugin can operate on my local server…
    this is very helpfull…

    thank you so much :)

Got something to say? Post your Comment below...

Name (required) Your Email (required) Your Website (optional) Your Comment


Premium Wordpress Blog Design By Essai Selvan. Copyright 2010 - 2016