PHP CURL & HTTPS no response

add this:
curl_setopt($handle,CURLOPT_SSL_VERIFYPEER, false);

https://stackoverflow.com/questions/4372710/php-curl-https

<?php
$handle = curl_init();

$url = “https://valami.com”;
// Set the url
curl_setopt($handle, CURLOPT_URL, $url);
// Set the result output to be a string.
curl_setopt($handle, CURLOPT_RETURNTRANSFER, true);

//curl_setopt($handle, CURLOPT_FOLLOWLOCATION, true);

curl_setopt($handle,CURLOPT_SSL_VERIFYPEER, false);

//var_dump(curl_getinfo($handle));

$output = curl_exec($handle);

curl_close($handle);

echo $output;

Blogbook : PHP | Javascript | Laravel | Corcel | CodeIgniter | VueJs | ReactJs | WordPress