I use the following to look for versions (assuming a web browser is handy) https://packages.ubuntu.com/search?keywords=php5 It shows package php5 is available for 'trusty' (14.04) and is version.... If you want more php you could use just 'php'
– guivercMay 10 '18 at 05:46