Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-08-2013, 07:52 PM   PM User | #1
fagin
New to the CF scene

 
Join Date: Jul 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
fagin is an unknown quantity at this point
PHP 5.2 to 5.3

Hi,

I'm a newbie here or anywhere for that matter in the coding arena. Am here to seek you gurus help.

The question:
I bought a little software 4 years ago which I really like. It was written for the PHP 5.2 server.

I use to be able to install it and run it on my hosting server, but now errors are popping up everywhere because the server is now 5.3.

Is there anyway I can update my software so it'll work on the 5.3 server?

Like a step by step instructions - find and replace this (code) by this (code) way to do it?


Thanks much.

Any help would be much appreciated.

Fagin

Last edited by fagin; 02-08-2013 at 07:55 PM..
fagin is offline   Reply With Quote
Old 02-08-2013, 08:59 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,662
Thanks: 4
Thanked 2,452 Times in 2,421 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
You'll need to post the errors.
Few things have actually changed between 5.2 and 5.3 that I would expect to cause a break. There are a number of improvements in the OO implementation such as late static binding though, so that could be a potential issue (although chances are that would not be).
I'd be more prone to lean towards an incorrectly configured 5.2 or 5.3 being a cause over that of a change in the version. Zend does put great care into maximizing backwards compatibility. The last major one was caused by 5.3, but that is related to namespacing and class names. 5.2 doesn't support namespaces, so that won't be a BC issue.
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Fou-Lu is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:37 PM.


Advertisement
Log in to turn off these ads.