How to upgrade PHP 5.2 to PHP 5.3 on Debian Lenny


Posted by Ben Johnson on 3 March 2011 | 2 Comments

Tags: ,,,

Its very simple to upgrade PHP 5.2 to PHP 5.3 for Debian Lenny and it's easy to upgrade via a few commands with the apt-get

  1. Add these lines to the apt sources at /etc/apt/sources.list
    deb http://php53.dotdeb.org stable all
    deb-src http://php53.dotdeb.org stable all
  2. The dotdeb repositry will require you to download and import the key
    wget http://www.dotdeb.org/dotdeb.gpg
    cat dotdeb.gpg | sudo apt-key add -
    
  3. Now all that is left is to upgrade:
    apt-get update
    apt-get dist-upgrade
  4. I have to confirm a couple of files that have to be overwriten.

Post your comment

Posting comments has been disabled.

Comments

  • In this way with dist-upgrade I'm going to upgrade only php or also other package ?

    Posted by Andrea, 09/08/2011 9:20am (9 months ago)

  • On Lenny it is oldstable...not stable.

    Posted by ManiacTwister, 13/03/2011 1:56am (1 year ago)

RSS feed for comments on this page | RSS feed for all comments