I've done the following:
sudo add-apt-repository ppa:ondrej/php5-5.6 sudo apt-get update sudo apt-get upgrade sudo apt-get install php5 sudo apt-get install libapache2-mod-php5.6 sudo add-apt-repository ppa:ondrej/apache2
When I try to disable the old version of php5 with:
sudo phpdismod php5
I get the error: WARNING: Module php5 ini file doesn't exist under /etc/php/5.6/mods-available
Even if I move the ini file under this directory it gives me the same error. I don't know what I'm missing??
In general, can someone explain to me how to get my instance to use the newly installed version, as I still seem to have both php directory trees on my instance. php5/.. and php/5.6