Results 1 to 5 of 5

Thread: Upgrading PHP on Dapper via SSH

  1. #1
    Join Date
    Dec 2006
    Beans
    21

    Question Upgrading PHP on Dapper via SSH

    I'm administering a "Virtual Private Server" which is hosted by www.webfusion.co.uk (who I would never send my business at, but I'm stuck with for my current project).

    The server is running Dapper, which means it is limited to PHP 5.1 through the standard channels. I need to upgrade to PHP 5.2 to run a particular app.

    I have root SSH access to the server. How should I go about upgrading PHP? Should I upgrade Ubuntu to a later release, or should I just upgrade PHP? In both cases, how do I do this over the command line/SSH?

  2. #2
    Join Date
    Jul 2006
    Location
    EST (GMT -5)
    Beans
    544
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Upgrading PHP on Dapper via SSH

    so php is limited to 5.1 in the Dapper repositories? you should probably be able to find a .deb of 5.2 and install it with dpkg. or you could always compile from source. but if it is held back in the repos, it is probably for a reason, so you may break something installing 5.2
    toaster: PIII 1.0GHz Ubuntu Intrepid 2.6.27-7-server (headless)
    merom: Apple MacBook Pro -2.33GHz C2Duo - OSX 10.5.6
    mythb0x: P-D 2.66Ghz MythDora 3.2: 2.6.18 - PVR-150 - VIA Unichrome Pro - MSI Hetis 800 case

  3. #3
    Join Date
    Dec 2006
    Beans
    21

    Question Re: Upgrading PHP on Dapper via SSH

    Quote Originally Posted by punx45 View Post
    but if it is held back in the repos, it is probably for a reason, so you may break something installing 5.2
    So should I upgrade to a distribution that ships with PHP 5.2, rather than just upgrading PHP? And how do I perform this upgrade via SSH?

  4. #4
    Join Date
    Jul 2006
    Location
    EST (GMT -5)
    Beans
    544
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Upgrading PHP on Dapper via SSH

    https://help.ubuntu.com/community/UpgradeNotes
    see here for info on upgrades.

    everything should be doable through commandline. keep in mind doing this remotely with no physical access to the machine may cause headaches.

    i recommend doing all important tasks through screen. its in the repos.
    http://www.gnu.org/software/screen/
    toaster: PIII 1.0GHz Ubuntu Intrepid 2.6.27-7-server (headless)
    merom: Apple MacBook Pro -2.33GHz C2Duo - OSX 10.5.6
    mythb0x: P-D 2.66Ghz MythDora 3.2: 2.6.18 - PVR-150 - VIA Unichrome Pro - MSI Hetis 800 case

  5. #5
    Join Date
    Dec 2006
    Beans
    21

    Re: Upgrading PHP on Dapper via SSH

    Thanks, those instructions worked great! It did end up borking my server, but that was the host's fault: Webfusion.co.uk. I'm going to transfer to nethosted.co.uk; their customer service seems much better and they're running PHP 5.2, which is what I wanted in teh first place.

Tags for this Thread

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
  •