I have Ubuntu 14.04, wanted to try php5.6.
ppa:ondrej/php5-5.6. Updated. Installed php5. Got php5.6. Did not find some extensions and decided to switch back to ubuntu's own php 5.5.
Deleted that ppa. Updated. Uninstalled php5. Installed php5.
apt-get says it is installing php5.5 but after that
php -v says php5.6.
Tried almost the same in different combinations several times with
autoremove etc. No result.
/usr/bin/php to make sure it is restored upon installation. But it is not.
not only I cannot delete
apache2 as well. and now it messed up with my