Re: [CentOS] php fopen ssl error

2013-09-25 Thread Kai Schaetzl
This should really be directed at a PHP forum. I would suspect that 
something with the server certificate is not ok.

Kai


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] php fopen ssl error

2013-09-25 Thread Markus Falb

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-generalm=138011820514388

The backporting oath?
-- 
Markus

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] php fopen ssl error

2013-09-25 Thread Markus Falb

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

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] php fopen ssl error

2013-09-25 Thread Kai Schaetzl
Markus Falb wrote on Wed, 25 Sep 2013 18:44:15 +0200:

 https://bugs.php.net/bug.php?id=39039

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


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] php fopen ssl error

2013-09-25 Thread Leon Fauster
Am 25.09.2013 um 18:39 schrieb Markus Falb wne...@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-generalm=138011820514388
 
 The backporting oath?



You wrote on this list something about php53 package, right?

--
LF





___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] php fopen ssl error

2013-09-25 Thread Markus Falb

On 25.Sep.2013, at 20:22, Leon Fauster wrote:

 Am 25.09.2013 um 18:39 schrieb Markus Falb wne...@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-generalm=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
-- 
Markus

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] php fopen ssl error

2013-09-25 Thread Markus Falb

On 25.Sep.2013, at 19:58, Reindl Harald wrote:

 
 
 Am 25.09.2013 18:39, schrieb Markus Falb:
 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-generalm=138011820514388
 
 The backporting oath?
 
 any why do you not update your crap?
 PHP 5.1 is irrelevant these days

Now I am irritated. RHEL 5 is supported until 2017, so is CentOS 5, isn't it?
It comes with php and it comes with php53. You tell me I am a crapper because I 
use php.
I would have expected such things from the php mailing list, but on CentOS….
In other words, do not tell me on the CentOS Mailing List that I am dumb if I 
use a package provided by CentOS (that's silly)

 that's why CentOS/RHEL provides 5.3 packages without break environments rely 
 on 5.1

It really doesn't break? I cant believe that.
-- 
Markus
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] php fopen ssl error

2013-09-25 Thread John R Pierce
On 9/25/2013 11:46 AM, Markus Falb wrote:
 It really doesn't break? I cant believe that.

indeed, updating a centos5 webserver I have from php5.1 to php53 broke a 
bunch of my webpiles, triggering a bunch of rework I hadn't planned.
this particular set of webpiles are all charity work, various local 
clubs and such.





-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] php fopen ssl error

2013-09-25 Thread SilverTip257
On Wed, Sep 25, 2013 at 2:46 PM, Markus Falb wne...@gmail.com wrote:


 On 25.Sep.2013, at 19:58, Reindl Harald wrote:

 
 
  Am 25.09.2013 18:39, schrieb Markus Falb:
  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-generalm=138011820514388
 
  The backporting oath?
 


Yes, backporting makes this interesting when seeking support.
Ultimately it's a question for CentOS (or Upstream).



  that's why CentOS/RHEL provides 5.3 packages without break environments
 rely on 5.1

 It really doesn't break? I cant believe that.


(Echoing John Pierce's warning...)
If you update from PHP 5.1 or 5.2 to 5.3 you will have problems to deal
with.
I made the move and I too had broken code to fix!

[ Although the fixes/modifications are rather easy (just in case you have
to go that direction). ]


 --
 Markus
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] php fopen ssl error

2013-09-25 Thread Jim Perrin
On 09/25/2013 06:14 PM, SilverTip257 wrote:

 
 Yes, backporting makes this interesting when seeking support.
 Ultimately it's a question for CentOS (or Upstream).



Our policy on this has been pretty straight-forward from the beginning.
We will reproduce what upstream provides. Bug for bug, and patch for
patch as closely as we can. In this instance, it would seem that this
issue should be filed in RH's bugzilla, or on the CentOS bugtracker with
the relevant information so that it can be duplicated in RH's bugzilla,
and then linked appropriately.

So long as it's not a bug we introduced as part of the rebuild process,
it's usually better to not have it addressed by us. Going down that road
would move us away from the compatibility we strive for. Worst case
scenario would be that our patch introduces other issues, or is
incompatible with a future update from upstream.



-- 
Jim Perrin
The CentOS Project | http://www.centos.org
twitter: @BitIntegrity | GPG Key: FA09AD77
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos