Ubuntu – Update to recent stable php in Ubuntu 12.04

PHPphp-fpmUbuntu

We run an Ubuntu 12.04 server where php 5.3.10 is installed by default. I thought Ubuntu did only apply bugfixes in their updates, so micros like 5.3.x should pass through.

Apparently, our version isn't updated, but we are stuck with a critical bug in php which is solved in 5.3.15. Should I wait longer for this release to bubble up? Or are there safe repositories to use for Ubuntu to continuously update php and php related packages?

Best Answer

The ubuntu version of php you have installed does not necessarily have the same version number as the upstream bugfix release, even though the ubuntu release have backported the bugfix into its package.

apt-get dist-upgrade should bring you up to date with the latest security patches from the ubuntu repositories. Check out the link below for ubuntu's changelog on bugfixes in this particular package.

http://changelogs.ubuntu.com/changelogs/pool/main/p/php5/php5_5.3.10-1ubuntu3.2/changelog