Upgrade php on Ubuntu 14.04
Wordpress now requires php 5.6 or higher and I just can’t get it to update on my Ubuntu 14.04 droplet, I’ve tried dozens of tutorials but always get a Unable to locate package php5.6 or similar message.
Every tutorial is based around
sudo add-apt-repository ppa:ondrej/php but nothing seems to work.
I don’t get any errors when adding the ppa and have also tried LCALL=enUS.UTF-8 add-apt-repository ppa:ondrej/php adding the language packs etc, but no joy.
Have used the tutorials here, askUbuntu, Stack and anything else that Google throws up but always get the same Unable to locate message with no progress in resolving that either.
Any help greatly appreciated.