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 6 of 6
  1. #1
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,029
    Thanks
    23
    Thanked 589 Times in 588 Posts

    Backward Incompatible in ver 5.5

    Probably doesn't affect me, but what does this mean and should I, a xp user, worry?
    Support for Windows XP and 2003 has been dropped. Windows builds of PHP now require Windows Vista or newer.
    Evolution - The non-random survival of random variants.

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    I'm not sure I understand the question. If you cannot upgrade to 5.5 due to an OS limitation, than your only limitation is that you cannot use code newer than the 5.4 generation. You could try compiling the PHP yourself on the 5.5 build and XP, but I'm not sure what the actually support limitation is (just because something is unsupported doesn't mean it won't "work").
    So should you be worried? Not unless you intend to program 5.5+. I still program for 5.3, and will on legacy go back to 4.2. I'm not ready to program for the 5.4+ in PHP at this point in time.
    The only thing else you need to watch for is incompatibilities or changes in versions of specific functions. Look at the changelog doc for the strtotime for a prime example of why that function is such a nightmare to work with.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #3
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,029
    Thanks
    23
    Thanked 589 Times in 588 Posts
    I don't compile php, nor run it in a window environment. I run php in the WAMP environment.
    If WAMP is running on Windows XP operating system should I have a problem with php ver 5.5? I don't think so, but I'm not sure and that's what I'm asking Fou-Lu.


    EDIT - OK, I was thinking of just upgrading the WAMP myself and was wondering if "Support for Windows XP and 2003 has been dropped." would affect me before I went to the trouble of upgrading.
    Last edited by sunfighter; 06-25-2013 at 08:58 PM.
    Evolution - The non-random survival of random variants.

  • #4
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    Windows XP = windows environment. WAMP = windows apache mysql php.
    WAMP is simply a windows package of apache, mysql and PHP. If its unsupported on windows xp for 5.5, than that would indicate that it is unsupported regardless of how you get there. Doesn't mean it won't work though. I'd just unzip the PHP 5.5 and run the php.exe. If it works, good to go. I would expect it'd complain otherwise.
    Not sure if you'll run into any issues with the apache handler though. I'll have to try dropping a 5.5 on my system later to see if it works with the existing apache handler, or if I'll have to get a new version. That one may or may not be compatible with xp either. Even then, you may be able to fcgi it anyway.

    Ultimately, XP is going away though. By this time next year, there will be no support for XP even from Microsoft, and that would be about time to focus on the 5.4 or 5.5 builds on PHP. Or even better would be 6.0 if that's out, but I won't hold my breath.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #5
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,590
    Thanks
    0
    Thanked 644 Times in 634 Posts
    Just because you can't compile PHP on a particular operating system doesn't mean that a version compiled on a different operating system will not run on that one.

    The page where you can get the source code in order to compile PHP 5.5 for yourself states that you need Microsoft Visual Studio 12 in order to compile the VC11 versions of PHP (and 5.5 is only available in a VC11 version). This means that you need Windows 7 or 8 to be able to run the compiler as the compiler is not compatible with earlier versions of Windows. The Visual Studio 12 compatibility page states that while the compiler can't run on Windows XP or Windows server 2003 that you can still produce executables that will run on those platforms.

    So basically you can still run PHP 5.5 on Windows XP - you just can't grab the source code and compile it for yourself without having a more recent version of Windows.

    The restriction applies to building PHP - not running PHP.

    So provided that those creating WAMP and XAMPP compile their PHP 5.5 the right way their packages will still continue to be able to be used on Windows XP.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #6
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,029
    Thanks
    23
    Thanked 589 Times in 588 Posts
    Thanks, That was what I was after.
    Evolution - The non-random survival of random variants.


  •  

    Posting Permissions

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