I downloaded the .exe from the official website, added the system variable and tested it. Everything working.
But when I go in my PHP program it always gives the same error:
Fatal error: Call to undefined function curl_init ()
My code in the snippet that gives the problem:
<?php
$url_recepient = "https://api.pagar.me/1/recipients";
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $url_recepient);
curl_setopt ($ch, CURLOPT_POST, 1);
?>
And now I do not know if it's my code error or I did not install it right.