php-general Digest 25 Sep 2013 14:09:46 -0000 Issue 8377

Topics (messages 322176 through 322176):

php fopen https error
        322176 by: Markus Falb

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
With RHEL/CentOS 5 php I get an SSL Error
RHEL/CentOS 5 php is at 5.1.6 with security fixes backported.

<?php
 $handle = fopen("https://maps.google.com";, "r");
 $contents = stream_get_contents($handle);
 fclose($handle);
?>

will result in something like

Warning: stream_get_contents(): SSL: fatal protocol error in bla.php on
line 3

Some https pages do not raise this error, e.g. https://www.redhat.com is
fine
What is wrong? How to debug? How to resolve? How to mitigate?

Thanks
-- 
Markus Falb

--- End Message ---

Reply via email to