Step-by-step how to use cURL in XAMPP
- Open /apache/bin/php.ini file – there are a few php.ini files you could edit but this one will work everytime.
- Find the line with
;extension=php_curl.dll
and uncomment it. - Restart Apache.
cURL should work fine now on Windows and Linux. You do not need to install any other packages.