Operating Systems

Operating systems are used for both running your computer, and running web servers. Whilst you are not going to base your laptop buying decision based on which PHP version it has by default, knowing what versions are on what operating systems can save you some trouble in the future.

More importantly, picking an OS for your web server with the right version is going to save arsing around trying to install (sometimes unofficial) repos to get it up to date.


Distribution Family Default
Arch Linux linux 7.2.0
Ubuntu 16.04 LTS (Xenial) linux 7.0.22
Debian 9 (Stretch) linux 7.0.19
Ubuntu 16.10 (Yakkety) linux 7.0.18
openSUSE Tumbleweed linux 7.0.12
Debian 8 (Jessie) linux 5.6.30
OSX 10.12 (Sierra) osx 5.6.24
Ubuntu 15.10 (Wily) linux 5.6.11
Ubuntu 15.04 (Vivid) linux 5.6.4
OSX 10.11 (El Capitan) osx 5.5.29
openSUSE Leap 42.1 linux 5.5.14
Ubuntu 14.04 LTS (Trusty) linux 5.5.9
OSX 10.10 (Yosemite) osx 5.5.9
Debian 7 (Wheezy) linux 5.4.45
OSX 10.9 (Mavericks) osx 5.4.17
Red Hat Enterprise Linux (RHEL) 7.1 linux 5.4.16
CentOS 7 linux 5.4.16
OSX 10.8 (Mountain Lion) osx 5.3.10
Red Hat Enterprise Linux (RHEL) 6.7 linux 5.3.3
Debian 6 (Squeeze) linux 5.3.3
CentOS 6 linux 5.3.3