Answer the question
In order to leave comments, you need to log in
How to upgrade php5.3 to php5.4 on Ubuntu 10.04?
Need to update php5.3.2 to 5.4.* on Ubuntu 10.04. Do not ask me where I got such junk, but I have to work with what I have. There are a lot of monotonous upgrade tips on the Internet: but none of them helped. I'm doing something pretty standard:
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php5-oldstable
sudo apt-get update
sudo apt-get install -y php5
php5 -v
PHP 5.3.2-1ubuntu4.30 with Suhosin-Patch (cli) (built: Apr 17 2015 15:02:03)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
Answer the question
In order to leave comments, you need to log in
sudo apt-get update
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php5-oldstable
sudo apt-get update
sudo apt-get dist-upgrade
sudo echo "deb http://ppa.launchpad.net/ondrej/php5/ubuntu lucid main" >> /etc/apt/sources.list
sudo echo "deb-src http://ppa.launchpad.net/ondrej/php5/ubuntu lucid main" >> /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E5267A6C
sudo apt-get update
sudo apt-get install php5
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question