Curl gibt auf dem Hostinger-Server false zurück (Curl aktiviert)

Using:

hostinger kostenlos
php 5.5.26
curl aktiviert 7.19.7
"laravel / framework": "5.2. *" und "vladkens / vk": "^ 0.1.9"

Ich erhalte eine falsche Antwort bool(false)) mit dieser Funktion:

private function request($url, $method = 'GET', $postfields = array())
{
    curl_setopt_array($this->ch, array(
        CURLOPT_USERAGENT =>"Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0",
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_SSL_VERIFYPEER => false,
        CURLOPT_POST => ($method == 'POST'),
        CURLOPT_POSTFIELDS => $postfields,
        CURLOPT_URL => $url
    ));

    return curl_exec($this->ch);
}

Usingcurl_getinfo($this->ch) bekommen diese Debugging-Daten:

array(23) { ["url"]=> string(251) "https://api.vk.com/method/audio.search.json?access_token={{access_token}}&api_id={{api_id}}&q=21+Hunter+Hayes&random=1014×tamp=1453393550&v=2.0&sig={{sig}}" ["content_type"]=> NULL ["http_code"]=> int(0) ["header_size"]=> int(0) ["request_size"]=> int(0) ["filetime"]=> int(0) ["ssl_verify_result"]=> int(0) ["redirect_count"]=> int(0) ["total_time"]=> float(0) ["namelookup_time"]=> float(0) ["connect_time"]=> float(0) ["pretransfer_time"]=> float(0) ["size_upload"]=> float(0) ["size_download"]=> float(0) ["speed_download"]=> float(0) ["speed_upload"]=> float(0) ["download_content_length"]=> float(-1) ["upload_content_length"]=> float(-1) ["starttransfer_time"]=> float(0) ["redirect_time"]=> float(0) ["redirect_url"]=> string(0) "" ["primary_ip"]=> string(0) "" ["certinfo"]=> array(0) { } } 

Und wenn ich von diesem Array direkt im Browser benutzeurl value Ich erhalte die richtige Antwort von api.vk.com mit Daten.

Was fehlt mir?
AKTUALISIEREN
Diese Nachricht erhaltencouldn't connect to host usingecho $error = curl_error($this->ch);

Antworten auf die Frage(2)

Ihre Antwort auf die Frage