I use Ubuntu 14.04. And when I ran this apt-get dist-upgrade
command here on my machine, it installed PHP 7.
I've already removed PHP 7 like this:
apt-get purge php.*
But when I do this:
apt-get install php
It reinstalls PHP 7 again.
Does anyone know how to solve this?
Update
Only technical information (you do not need to change the answers), is that when I run apt-cache policy php5
, this appears:
php5:
Instalado: (nenhum)
Candidato: 7.20151230+deb.sury.org~trusty+1
Tabela de versão:
7.20151230+deb.sury.org~trusty+1 0
500 http://ppa.launchpad.net/ondrej/php-7.0/ubuntu/ trusty/main amd64 Packages
5.5.9+dfsg-1ubuntu4.14 0
500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
5.5.9+dfsg-1ubuntu4 0
500 http://br.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages