Guest User

Untitled

a guest
Jan 18th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. echo Atualizando repositórios..
  4. if ! apt-get update
  5. then
  6. echo "Não foi possível atualizar os repositórios. Verifique seu arquivo /etc/apt/sources.list"
  7. exit 1
  8. fi
  9.  
  10. 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
  11. then
  12. echo "Não foi possível isntalar o pacote PHP"
  13. exit 1
  14. fi
  15. echo "PHP instalado com sucesso"
Add Comment
Please, Sign In to add comment