I had PHP5.3 on my ubuntu and is now trying to install PHP5.6 on it.
After purging the current version, This is what I've done first:
- sudo add-apt-repository ppa:ondrej/php
- sudo apt-get update
- sudo apt-get install php5.6
But there are no packages available in that name (checked php-5.6, php56 too, but no luck)
When trying the command
- apt-get install php5
, it installs PHP, but the older version (5.3)
It appears the packages are not getting fetched from the PPA or something.
Also, I've done an apt-get clean all, and redid the above steps, but still nothing.
Could someone please advise?