Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- echo Atualizando repositórios..
- if ! apt-get update
- then
- echo "Não foi possível atualizar os repositórios. Verifique seu arquivo /etc/apt/sources.list"
- exit 1
- fi
- if ! apt-get install php7.0-cli php7.0-mbstring php7.0-intl php7.0-curl php7.0-json php7.0-xml php7.0-dev -y
- then
- echo "Não foi possível isntalar o pacote PHP"
- exit 1
- fi
- echo "PHP instalado com sucesso"
Add Comment
Please, Sign In to add comment