DEV Community

Fred_Melo_07
Fred_Melo_07

Posted on

3 2

Instalando PHP7 no Linux

  1. Atualizando os ficheiros:
    # apt update

  2. Instalando o php7:
    # apt search php7
    Verifique a versão mais atual do php7 e instale. Por exemplo, se a versão mais atual for a 7.2, então faça:
    # apt install php7.2

  3. Instalar pacotes adicionais:
    # apt install libapache2-mod-php7.2
    # apt install php7.2-mysql

Pronto! Com isso você terá o PHP7 em seu computador e já poderá programar usando a linguagem!

Bons estudos!
=]

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more