Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: PHP 5.2 to 5.3

  1. #1
    New to the CF scene
    Join Date
    Jul 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    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.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 
    Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •