PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sat Nov 22, 2014 11:27 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Upgrading PHP? Problems?
PostPosted: Tue Aug 14, 2012 2:31 pm 
Offline
Forum Commoner
User avatar

Joined: Fri Nov 13, 2009 4:17 am
Posts: 81
Location: Oregon, USA
Hey ya guys. I got a question that I am having trouble finding an answer to. I got a couple servers with live websites that have a lot of traffic and my boss wants to install and test this new web app. Here is the problem: My servers are not up to date with the latest php and MySQL. The web app requires a whole slue of things but more so the problem we are running into is that it needs PHP 5.2.0 or higher and MySQL 4.1.2 or higher. We currently use PHP 5.1.6 and MySQL 5.0.22. MySQL is fine and works just like I want thankfully (although could use an update as well). PHP is my concern.

From this version to at least 5.2.0 is there any code that I should be concerned about when upgrading? Should I expect any problems? How long dose this upgrade take?

Our options right now are to upgrade the server's software or just lease a new dedicated server. Personally I just want to upgrade and save my boss some money but this is his call and wants to know if there are any risks to the current live sites witch generate the majority of the company's revenue.

Any thoughts on this as well as anything maybe I didn't cover I should be concerned with?


Top
 Profile  
 
PostPosted: Tue Aug 14, 2012 3:30 pm 
Offline
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 5646
Location: WA, USA
Migrating from PHP 5.1.x to 5.2.x

Notable changes include:
  • __toString() being called in more circumstances than before
  • abstract static methods raise E_STRICTs (since both abstract and static doesn't make OOP sense)
  • Date/time functions may issue warnings if you haven't set the default timezone

5.2 also includes a large number of new or expanded functions, methods, classes, constants, and other stuff.

On the bright side the changelog isn't nearly as complicated as it is upgrading to 5.3 or 5.4 :) In my mind there's 5.x, 5.3, and 5.4.


Top
 Profile  
 
PostPosted: Tue Aug 14, 2012 4:12 pm 
Offline
Forum Commoner
User avatar

Joined: Fri Nov 13, 2009 4:17 am
Posts: 81
Location: Oregon, USA
You sir/madam are a saint. ^_^


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group