By default cURL is disable in XAMPP installation. If you want to enable cURL of your XAMPP environment then uncomment the following line:
in the C:\Program Files\xampp\apache\bin\php.ini file (assuming you have installed XAMPP in “C:\Program Files” folder).
If you plan to switch version of PHP in XAMPP you may made the change in following files (assuming you have installed XAMPP in “C:\Program Files” folder):
- C:\Program Files\xampp\php\php5.ini
- C:\Program Files\xampp\php\php.ini
- C:\Program Files\xampp\php\php4\php.ini
- C:\Program Files\xampp\php\php4\php4.ini