Instalando PHP7 no debian

Vamos instalar o php7, para isso vamos adicionar alguns repositórios no debian.

vi /etc/apt/sources.list

# dotdeb PHP7 repositórios
deb http://packages.dotdeb.org jessie all
deb-src http://packages.dotdeb.org jessie all

Baixar e instalar as chaves
wget https://www.dotdeb.org/dotdeb.gpg
apt-key add dotdeb.gpg

Agora vamos atualizar os repositórios e instalar o php 7
aptitude update
aptitude install php7.0

Agradecimentos
dotdeb.org/

Leave a Reply

Your email address will not be published. Required fields are marked *