First add the following lines to the /etc/apt/sources.list.d/php5-ppa.list
file using your favourite editor.
deb http://ppa.launchpad.net/nginx/php5/ubuntu maverick main deb-src http://ppa.launchpad.net/nginx/php5/ubuntu maverick main
Then run the following command to add a key for the newly added repositories:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 00A6F0A3C300EE8C
After that you can update Ubuntu's software and upgrade PHP:
aptitude update aptitude full-upgrade
manpreet
Best Answer
2 years ago
I am using Ubuntu 10.04. And I want to upgraded my php version. When i am upgrading my PHP version(5.3.2 to 5.3.6) but After every updation Its show PHP version 5.3.2..
Edit:: I have checked "Ubuntu repository", PHP 5.3.6 is not avalable. :(