Hi, With CentOS php53 I get an SSL Error
<?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?
This should really be directed at a PHP forum. I would suspect that something with the server certificate is not ok.
Kai
On 25.Sep.2013, at 13:57, Kai Schaetzl wrote:
This should really be directed at a PHP forum. I would suspect that something with the server certificate is not ok.
oh my, centos says it's php thing php says, what?, 5.1.6 is seven years old
http://marc.info/?l=php-general&m=138011820514388
The backporting oath?
Am 25.09.2013 um 18:39 schrieb Markus Falb wnefal@gmail.com:
On 25.Sep.2013, at 13:57, Kai Schaetzl wrote:
This should really be directed at a PHP forum. I would suspect that something with the server certificate is not ok.
oh my, centos says it's php thing php says, what?, 5.1.6 is seven years old
http://marc.info/?l=php-general&m=138011820514388
The backporting oath?
You wrote on this list something about php53 package, right?
-- LF
On 25.Sep.2013, at 20:22, Leon Fauster wrote:
Am 25.09.2013 um 18:39 schrieb Markus Falb wnefal@gmail.com:
On 25.Sep.2013, at 13:57, Kai Schaetzl wrote:
This should really be directed at a PHP forum. I would suspect that something with the server certificate is not ok.
oh my, centos says it's php thing php says, what?, 5.1.6 is seven years old
http://marc.info/?l=php-general&m=138011820514388
The backporting oath?
You wrote on this list something about php53 package, right?
Sorry, I messed it up. This thing is about php (not php53), i.e. php-5.1.6-40.el5_9
On 24.Sep.2013, at 17:51, Markus Falb wrote:
Hi, With CentOS php53 I get an SSL Error
<?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
This is wrong information. The error is only present with php 5.1.6, not php 5.3. I got this wrong. Sorry. But it it is a problem, I just do not know how to deal with it. https://bugs.php.net/bug.php?id=39039
Markus Falb wrote on Wed, 25 Sep 2013 18:44:15 +0200:
There's probably no way to work around. But it seems you can get along by suppressing errors. The bugs have to be corrected upstream at Red Hat (= backported from a newer php version), you would have to open a ticket there. I'd rather install php52 or newer instead of staying on that old version. php 5.2.17 (latest rpm available) should be fine for all software using 5.1.6.
Kai