Skip to content

Instantly share code, notes, and snippets.

@kelvysmoura
Created May 28, 2019 18:40
Show Gist options
  • Save kelvysmoura/36c9b0592c03c94d5beb7bf42b94583d to your computer and use it in GitHub Desktop.
Save kelvysmoura/36c9b0592c03c94d5beb7bf42b94583d to your computer and use it in GitHub Desktop.
Arquivo que instala os módulos necessários para o magento 2
echo "Qual a versão do php? "
read version;
sudo apt install php$version-dom -y
sudo apt install php$version-curl -y
sudo apt install php$version-mcrypt -y
sudo apt install php$version-intl -y
sudo apt install php$version-mbstring -y
sudo apt install php$version-zip -y
sudo apt install php$version-gd -y
sudo apt install php$version-simplexml -y
sudo apt install php$version-spl -y
sudo apt install php$version-xsl -y
sudo apt install php$version-ctype -y
sudo apt install php$version-hash -y
sudo apt install php$version-openssl -y
sudo apt install php$version-json -y
sudo apt install php$version-xmlwriter -y
sudo apt install php$version-xml -y
sudo apt install php$version-iconv -y
sudo apt install php$version-pdo -y
sudo apt install php$version-mysql -y
sudo service apache2 restart
sudo service mysql restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment