Skip to content

Instantly share code, notes, and snippets.

@sudar
Created January 25, 2011 16:48
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sudar/795192 to your computer and use it in GitHub Desktop.
Save sudar/795192 to your computer and use it in GitHub Desktop.
Adding dotdeb repository to apt-get source list to install PHP 5.3.x. More details at http://sudarmuthu.com/blog/2011/01/25/installing-php-5-3-x-in-ubuntu-through-apt-get-or-aptitude.html
gpg --keyserver keys.gnupg.net --recv-key 89DF5277
gpg -a --export 89DF5277 | sudo apt-key add -
cd /tmp
wget http://cz.archive.ubuntu.com/ubuntu/pool/main/libt/libtool/libtool_1.5.26-1ubuntu1_i386.deb
#if you are on 64-bit, then use the following command instead of the above one
wget http://cz.archive.ubuntu.com/ubuntu/pool/main/libt/libtool/libtool_1.5.26-1ubuntu1_amd64.deb
sudo apt-get remove libtool
sudo dpkg -i libtool_1.5.26-1ubuntu1_i386.deb
deb http://php53.dotdeb.org stable all
deb-src http://php53.dotdeb.org stable all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment