Hi this tutorial is for xampp user in windows..
From Last many days I was trying to enable the curl in my localhost but was not so success full. Now finaly I got the solution here. If you are using xampp then you dont have to download curl lib. what you have to do just remove ‘ ; ‘ from the this extension=php_curl.dll line of code in your php.ini file. of your xampp folder.
Xampp conatains three php.ini which are located as follows.
xampp\php\php.ini
xampp\php\php4\php.ini
xampp\apache\bin\php.ini
now just remove the ; from these file where you read this line extension=php_curl.dll
thats It now your ready to use the curl and happy curling. and ofcourse now you can check the phpinfo(), where you will find curl is enabled.