Skip to content

Instantly share code, notes, and snippets.

@chankruze
Created April 11, 2019 21:36
Show Gist options
  • Save chankruze/f05cf8d628f9ce6d87c1019b909ee0d2 to your computer and use it in GitHub Desktop.
Save chankruze/f05cf8d628f9ce6d87c1019b909ee0d2 to your computer and use it in GitHub Desktop.
sudo sh -c "apt-get update -y; apt-get install apache2 -y; systemctl start apache2.service"
sudo apt-get install php -y
sudo systemctl enable apache2.service
sudo systemctl restart apache2.service
sudo nano /etc/apache2/mods-enabled/dir.conf
sudo systemctl restart apache2
sudo systemctl status apache2
sudo apt-get install php-cli php-cgi php-curl php-all-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment