This works for XAMPP Version 2.5, but it should be very similar in previous versions.
Enabling CURL with XAMPP is a simple 2 step task:
1. Uncomment extension=php_curl.dll in your /xampp/php/php.ini file. (Uncomment by deleting the leading semicolon “;”)
2. Restart Apache.
You don’t need to download or install anything or include any extra ddl files.
NOTE: You need to restart Apache on both Windows and Linux whenever you make configuration changes in your php.ini file.