How do I enable cURL in PHP?
Since you're using XAMPP, uncomment the line
in xamppapachebinphp.ini, and then restart the Apache service.
NB: In newer XAMPP versions, PHP has moved to root xampp folder xamppphpphp.ini
On Debian with Apache 2:
(php4-curl if it's php4)