Php file_get_contents funktioniert nicht im Lokalen server

Aktivierte ich php in meine MAC osX und normalen php-Code funktioniert einwandfrei , aber ich habe eine seltsame Fehlermeldung heute

<?php 
$hi = file_get_contents("https://ojooo.com");
echo $hi;
?>

Den obigen code bekomme ich folgende Fehlermeldung auf meinem lokalen server.Aber obige code funktioniert Prima auf meinem Hosting.

Warning: file_get_contents() [function.file-get-contents]: SSL operation failed with code 1. OpenSSL Error messages: error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112) in /Library/WebServer/Documents/hi/index.php on line 2

Warning: file_get_contents() [function.file-get-contents]: Failed to enable crypto in /Library/WebServer/Documents/hi/index.php on line 2

Warning: file_get_contents(https://ojooo.com) [function.file-get-contents]: failed to open stream: operation failed in /Library/WebServer/Documents/hi/index.php on line 2

den normalen file_get_content(https://yahoo.com); ist in Ordnung.Bitte jemand mir helfen

InformationsquelleAutor Vishnu Rokin | 2012-11-27

Schreibe einen Kommentar