Versions of PHP in Ubuntu

If you have to maintain an open source project written in PHP, like we do with Chamilo at BeezNest, you’ll have to test your software on multiple versions of PHP to make sure of how well your code is supported on these versions.

Of course, being open source, you can publish it on Github and then benefit from Travis-CI to get tests run automatically, but some stuff might be tricky to do, and maybe you’d like to test one specific thing, quickly, under a specific PHP version.

Well, it turns out you can probably do that with Docker. But before you start using it, this list might just be what you need… and it shows the relationship between each Ubuntu version and a PHP version, so you know which Ubuntu image to load to get the expected version of PHP.

Ubuntu versionUbuntu version namePHP version
10.04Lucid5.3.1
10.10Maverick5.3.3
11.04Natty5.3.5
11.10Oneiric5.3.6
12.04Precise5.3.10
12.10Quantal5.4.6
13.04Raring5.4.9
13.10Saucy5.5.3
14.04Trusty5.5.9
14.10Utopic5.5.12
15.04Vivid5.6.4
15.10Wily5.6.11
16.04Xenial5.6.14

If you have doubts, you can always find packages information from here: http://packages.ubuntu.com/ or the linked repository sites.


Quick Contact Form