Cédric Walter | Oct 8, 2020 | 0
Use the latest PHP 5.4 in Ubuntu 12.04 Precise Pangolin
11-Apr-2013 The PHP development team announces the immediate availability of PHP 5.4.14 and PHP 5.3.24. These releases fix about 10 bugs aswell as upgrading the bundled PCRE library. All users of PHP are encouraged to upgrade to PHP 5.4.14.
The list of changes are recorded in the ChangeLog.
Just run as root the following to use PHP 5.4.14
If the above command is not available, install it using:
apt-get install python-software-properties
apt-get update apt-get upgrade apt-get dist-upgrade
Check that the dist-upgrade do not try to update more than needed. After some seconds you can check with
That you have the latest version
# php -v PHP 5.4.14-1~precise+1 (cli) (built: Apr 11 2013 17:09:50) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies