Select Page

Use the latest PHP 5.4 in Ubuntu 12.04 Precise Pangolin

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.

For source downloads of PHP 5.4.14 and PHP 5.3.24 please visit our downloads page, Windows binaries can be found on

The list of changes are recorded in the ChangeLog.

Thanks to Ondřej Surý,  maintainer for some Debian packages, you can have the latest PHP5 maintained by Debian PKG PHP Team in #Ubuntu Precise, Quantal , and Lucid.

Just run as root the following to use PHP 5.4.14

add-apt-repository ppa:ondrej/php5

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

php –v


php –version

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

About The Author

Cédric Walter

I worked with various Insurances companies across Switzerland on online applications handling billion premium volumes. I love to continuously spark my creativity in many different and challenging open-source projects fueled by my great passion for innovation and blockchain technology.In my technical role as a senior software engineer and Blockchain consultant, I help to define and implement innovative solutions in the scope of both blockchain and traditional products, solutions, and services. I can support the full spectrum of software development activities, starting from analyzing ideas and business cases and up to the production deployment of the solutions.I'm the Founder and CEO of Disruptr GmbH.