voLwy adlı üyeden alıntı: mesajı görüntüle
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

<?php'den sonraki satıra ekler misiniz? Ayrıca aşağıdaki satırı da ortaya ekleyin. Bakalım nasıl bi hata veriyor.

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
Bu şekilde yaptım hiçbir değişiklik olmadı

<?php

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_URL,"https://deprem.afad.gov.tr/latestCatalogsList");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,
            "m=0&utc=0&lastDay=1");

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$output = curl_exec($ch);


curl_close ($ch);
echo $output;
?>