For anyone who wants to upgrade Ubuntu 10.04 LTS to PHP 5.3.10

sudo apt-get remove –purge php*
sudo apt-get autoremove
sudo apt-add-repository ppa:brianmercer/php5
sudo apt-get update
sudo apt-get install php5 libapache2-mod-php5 php5-cli php5-cgi php5-mysql php5-gd
sudo service apache2 restart
sudo apt-get install php-pear
sudo pecl uninstall apc
sudo pecl install apc

This entry was posted in Debian&Ubuntu. Bookmark the permalink.