FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP Update
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
PHP Update [message #179167] Mon, 17 September 2012 09:31 Go to next message
jwcarlton is currently offline  jwcarlton
Messages: 76
Registered: December 2010
Karma: 0
Member
I'm currently using PHP v. 5.2.17. Would you guys recommend updating to 5.3.x for security, or are there any stability concerns with the newer releases? Am I going to run in to compliance problems with my PHP scripts?

If you guys think that I should update, which is the most stable version of 5.3.x?

TIA,

Jason
Re: PHP Update [message #179168 is a reply to message #179167] Mon, 17 September 2012 12:48 Go to previous messageGo to next message
M. Strobel is currently offline  M. Strobel
Messages: 386
Registered: December 2011
Karma: 0
Senior Member
Am 17.09.2012 11:31, schrieb Jason C:
> I'm currently using PHP v. 5.2.17. Would you guys recommend updating to 5.3.x for
security, or are there any stability concerns with the newer releases? Am I going to
run in to compliance problems with my PHP scripts?

PHP 5.2 is still supported, no reason to upgrade for security reasons.

The changes between 5.2 - 5.3 - 5.4 are quite noticeable,
see http://de.php.net/manual/en/appendices.php .

You would upgrade if you need the new features, or you need to upgrade your server
and use the bundled PHP version.

> If you guys think that I should update, which is the most stable version of 5.3.x?

The newest is generally best.

Performance wise, the newest version 5.4 is said to be "the fastest PHP ever" (german
review on heise.de).

/Str.
Re: PHP Update [message #179169 is a reply to message #179168] Mon, 17 September 2012 13:48 Go to previous messageGo to next message
Christoph Becker is currently offline  Christoph Becker
Messages: 91
Registered: June 2012
Karma: 0
Member
M. Strobel wrote:
> PHP 5.2 is still supported, no reason to upgrade for security reasons.

AFAIK PHP 5.2 is still supported by some Linux distros by backporting
important bug fixes, but the "official" support ended with 5.2.16 in
December 2010, see <http://php.net/archive/2010.php>. 5.2.17 fixed a
critical vulnerability and was released 3 weeks after 5.2.16.

--
Christoph
Re: PHP Update [message #179170 is a reply to message #179169] Tue, 18 September 2012 06:09 Go to previous messageGo to next message
Adam Harvey is currently offline  Adam Harvey
Messages: 25
Registered: September 2010
Karma: 0
Junior Member
On Mon, 17 Sep 2012 15:48:08 +0200, Christoph Becker wrote:
> M. Strobel wrote:
>> PHP 5.2 is still supported, no reason to upgrade for security reasons.
>
> AFAIK PHP 5.2 is still supported by some Linux distros by backporting
> important bug fixes, but the "official" support ended with 5.2.16 in
> December 2010, see <http://php.net/archive/2010.php>. 5.2.17 fixed a
> critical vulnerability and was released 3 weeks after 5.2.16.

That's correct. The only officially supported stable versions (outside of
distribution backports) are 5.3 and 5.4.

Adam
Re: PHP Update [message #179171 is a reply to message #179170] Tue, 18 September 2012 08:30 Go to previous message
M. Strobel is currently offline  M. Strobel
Messages: 386
Registered: December 2011
Karma: 0
Senior Member
Am 18.09.2012 08:09, schrieb Adam Harvey:
> On Mon, 17 Sep 2012 15:48:08 +0200, Christoph Becker wrote:
>> M. Strobel wrote:
>>> PHP 5.2 is still supported, no reason to upgrade for security reasons.
>>
>> AFAIK PHP 5.2 is still supported by some Linux distros by backporting
>> important bug fixes, but the "official" support ended with 5.2.16 in
>> December 2010, see <http://php.net/archive/2010.php>. 5.2.17 fixed a
>> critical vulnerability and was released 3 weeks after 5.2.16.
>
> That's correct. The only officially supported stable versions (outside of
> distribution backports) are 5.3 and 5.4.

I was wrong saying it is still supported, see authoritative information at
http://www.php.net/eol.php

So the correct answer to OP is: upgrade.

There are links to migration guides at php.net.

/Str.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How expensive is glob'ing a dir and including all the files?
Next Topic: Updating Zend 5.0 to use PHP 5.3.9
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 01:18:43 GMT 2024

Total time taken to generate the page: 0.03841 seconds