How to enable cURL in PHP / XAMPP

How do I enable cURL in PHP?

 

Since you’re using XAMPP, uncomment the line

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

On Debian with Apache 2:

(php4-curl if it’s php4)

Rate this post