upgrading 12.4 LTS PHP

Colin Law clanlaw at googlemail.com
Thu Jul 11 19:27:37 UTC 2013


On 11 July 2013 16:01, william drescher <william at techservsys.com> wrote:
> The 12.04 LTS php is 5.3.  I would like to upgrade to the most current
> stable version in the repositories.
>
> I did a sudo upgrade but did not see php on the list.
>
> what is the proper way:
>   to find out what the php release in the repository is?
>   upgrade  that package.

To find out what is the latest version in the repository do
apt-cache policy php5

It should show which version is installed and which is the latest
version.  For 12.04 I believe the version is 5.3.10.  To make sure
that all packages are up to date run
sudo apt-get update && sudo apt-get dist-upgrade

Colin




More information about the ubuntu-users mailing list