Upgrading to from PHP 4.4.3 to 5.2

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
icesolid
Forum Regular
Posts: 502
Joined: Mon May 06, 2002 9:36 pm
Location: Buffalo, NY

Upgrading to from PHP 4.4.3 to 5.2

Post by icesolid »

I am currently running PHP 4.4.3 and I have been reading into upgrading to PHP 5.2 (PHP's recommendation on their downloads page).

My question is, all of the code I have program thus far works fine in 4.4.3, how many changes if any am I going to need to make to my code to make it compliant with PHP 5.2?
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Post by Zoxive »

Have you tried it?

Most likely little to none.
icesolid
Forum Regular
Posts: 502
Joined: Mon May 06, 2002 9:36 pm
Location: Buffalo, NY

Post by icesolid »

OK.

Is 5.2 really worth the upgrade? Security improved?

It seems like it is. As I use the PHP manual for building my code I see that there are a lot of new things available in 5 that 4 does not have and I am wanting to get my hands on them.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

icesolid wrote:I see that there are a lot of new things available in 5 that 4 does not have and I am wanting to get my hands on them.
Doesn't that alone make the answer to
icesolid wrote:Is 5.2 really worth the upgrade?
"yes"?
http://www.php.net/index.php#2007-07-13-1 wrote:PHP 4 end of life announcement
[13-Jul-2007]

Today it is exactly three years ago since PHP 5 has been released. In those three years it has seen many improvements over PHP 4. PHP 5 is fast, stable & production-ready and as PHP 6 is on the way, PHP 4 will be discontinued.
see also http://gophp5.org/
Post Reply