Results 1 to 9 of 9

Thread: Ubuntu 10.04.4 LTS upgrade PHP

  1. #1
    Join Date
    Sep 2006
    Beans
    23

    Ubuntu 10.04.4 LTS upgrade PHP

    Hi,

    sorry if this question is obvious, but I just couldn't find the specific documentation.

    I'm a developer and have to depend on sysadmins to upgrade our server systems. I wanted an upgrade of PHP to the next stable supported version 5.3.x to run ZF2 which requires 5.3.3 at least.

    Our Sysadmins told me that Ubuntu 10.04 LTS comes bundles with 5.3.2 and they're not willing to upgrade PHP because of security reasons with other running PHP applications. And that it's not recommended to touch the PHP version.

    Is this really true?

    The System runs Ubuntu 10.04.4 with PHP Version 5.3.2-1ubuntu4.18.

    And I thought you would have the possibility of upgrade software...

    Regards

  2. #2
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Ubuntu 10.04.4 LTS upgrade PHP

    You'd have to either install php from source or use backport (I think?), but it is generally a good idea to not mess with the default configuration unless you are willing to deal with breakage and doing updates yourself as Ubuntu won't update a version of php that has been compiled and installed manually.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #3
    Join Date
    Jan 2008
    Beans
    7,745

    Re: Ubuntu 10.04.4 LTS upgrade PHP

    Ubuntu does not push major PHP updates on their users, as that would break people's websites and apps.

    Here is a great article on the topic, written for Red Hat but the same theory applies to Ubuntu:

    https://access.redhat.com/security/u...g/?sc_cid=3093

    10.04 implies it was released April 2010 and therefore uses older software. The standard solution to your situation would be to use Ubuntu 12.04 (the current Long Term Support release with support through April 2017 and PHP 5.3.10) or any number of other current distro releases if you are avoiding Ubuntu 12.04 for some reason.

  4. #4
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Ubuntu 10.04.4 LTS upgrade PHP

    Quote Originally Posted by snowpine View Post
    10.04 implies it was released April 2010 and therefore uses older software. The standard solution to your situation would be to use Ubuntu 12.04 (the current Long Term Support release with support through April 2017 and PHP 5.3.10) or any number of other current distro releases if you are avoiding Ubuntu 12.04 for some reason.
    +1. Altho, you also need to weigh the possibility of the upgrade breaking things too.

    Good link as well.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  5. #5
    Join Date
    Mar 2006
    Location
    The Internet
    Beans
    1,817
    Distro
    Ubuntu

    Re: Ubuntu 10.04.4 LTS upgrade PHP

    Upgrade to 12.04...

    Cheers,

  6. #6
    Join Date
    Sep 2006
    Beans
    23

    Re: Ubuntu 10.04.4 LTS upgrade PHP

    Ubuntu does not push major PHP updates on their users, as that would break people's websites and apps.
    For me an update from 5.3.2 to 5.3.14 wouldn't be a major update. Just a minor.

    So there sadly is no other way then compiling... or upgrading to 12.04.

    Ok, thought this would be a minor problem. But seems we have to invest in 12.04 then....

  7. #7
    Join Date
    Jan 2008
    Beans
    7,745

    Re: Ubuntu 10.04.4 LTS upgrade PHP

    Quote Originally Posted by Spankmaster79 View Post
    So there sadly is no other way then compiling... or upgrading to 12.04.
    If you owned a 2010 Ford truck but really wanted the updated engine from a 2012 Ford truck, your choices would be to after-market install the part yourself (possibly voiding your warrantee) or to trade in your vehicle for the newer model. Ubuntu is a consumer product and no different. Fortunately because Ubuntu is "open source" software, you have absoulte freedom and control to install whatever version of PHP you desire, because its source code is readily available. I don't know why you say this happy state of affairs is "sad."

  8. #8
    Join Date
    Sep 2006
    Beans
    23

    Re: Ubuntu 10.04.4 LTS upgrade PHP

    If you owned a 2010 Ford truck but really wanted the updated engine from a 2012 Ford truck, your choices would be to after-market install the part yourself (possibly voiding your warrantee) or to trade in your vehicle for the newer model.
    great comparison

    you have absoulte freedom and control to install whatever version of PHP you desire, because its source code is readily available. I don't know why you say this happy state of affairs is "sad."
    Sad because "I" could and would compile and upgrade. But our administration would only do it if they leave the servers in my responsibility then. And this kind of destroys our structure that administration keeps control over servers.

    I think I'll have to talk to them as soon as I really need 5.3.x. The next big ZF2 project will bring updates to 12.04 then I guess.

  9. #9
    Join Date
    Jan 2008
    Beans
    7,745

    Re: Ubuntu 10.04.4 LTS upgrade PHP

    Ah yes, got to keep the bosses happy. Good luck!

Bookmarks

Posting Permissions

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