phpcurlxampp

How to enable cURL in PHP / XAMPP


How do I enable cURL in PHP?

​​


Solution

  • Since you're using XAMPP, uncomment the line

    ;extension=php_curl.dll
    

    in xampp\apache\bin\php.ini, and then restart the Apache service.

    NB: In newer XAMPP versions, PHP has moved to root xampp folder xampp\php\php.ini.