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)
- Start the WampServer.
- In your system tray icon, click the WampServer icon -> PHP -> php.ini (see the image below)

- The php.ini file will open up. In the file locate the line
;extension=php_curl.dlland 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
- Now save the php.ini file and close it.
- Restart WampServer.
- Now look at the localhost homepage, in the extension list curl will be there.
- That’s it… curl is enabled in WampServer
Related Posts
- How to view the original size image of smart phones in your screen?
- In WordPress, Getting error as ‘failed to upload due to an error’? and ‘Unable to create directory’ and ‘Is its parent directory writable by the server?’
- How to download Youtube videos, Flash videos and videos from all video sharing sites without installing any software
- How to stop Comment spammers in 3 steps and Save you blog
- Best browser to Download files in Dial-up, GPRS, and Slow Internet connections
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....
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
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.
Dec 3rd, 2011
Thanks
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...

Tagged in

