Re: [PHP] php fopen https error

[email protected] (Shawn McKenzie)
Newsgroups php.general
Message-ID <CABPrARgHz1kK+vkYmR2CGNk9dmk5dihAxoY00A=84=1cMGQxuA@mail.gmail.com>
Just as I thought:

5.2.0
Fixed bug #39039 SSL: fatal protocol error when fetching HTTPS from servers
running Google web server). (Ilia)


On Wed, Sep 25, 2013 at 10:03 AM, Shawn McKenzie
<[email protected]>wrote:

> I believe this was a bug, is only a warning that may be suppressed and may
> have been fixed in 5.2.0.  Are you aware that PHP is at 5.5.4 and that
> 5.1.6 is over 7 years old?
>
> -Shawn
>
>
> On Wed, Sep 25, 2013 at 9:09 AM, Markus Falb <[email protected]> wrote:
>
>> 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
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.