Recently, i was working on setting up a Ubuntu 8.04 LTS (Handy Heron) server. i found that the PHP installed by apt-get is 5.2.4-2ubuntu5.12 and the PHP GD Library is not up-to-date and caused a warning in the Drupal report. I have to download the latest and stable packages in order to solve the problem.
Luckily, i found a very useful and up-to-date Debian repositories for my Ubuntu server. You could find the latest stable LAMP packages there. It is called Dotdeb. Just complete the following steps then you can connect to the Dotdeb repositories.
1. Append the following 2 lines in /etc/apt/source.list
deb http://packages.dotdeb.org stable all deb-src http://packages.dotdeb.org stable all
2. Download the repository public key by entering the following commands in shell
gpg --keyserver keys.gnupg.net --recv-key 89DF5277 gpg -a --export 89DF5277 | sudo apt-key add -
3. Run apt-get update
4. Now you can install the latest LAMP packages thru apt-get install.
Done =)
Reference: Dotdeb – The repository for Debian-based LAMP servers
