Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Setup LAMP Stack Ubuntu 16
# Install Apache
sudo apt-get update
sudo apt-get install apache2 -y
# Install PHP7
sudo apt-get -y install php7.0 libapache2-mod-php7.0
sudo apt-get install php7.0-cli php7.0-common libapache2-mod-php7.0 php7.0 php7.0-mysql php7.0-fpm -y
# Other packages which might be useful
sudo apt-get install php-mcrypt php7.0-soap php7.0-mbstring php7.0-intl php7.0-xml php7.0-curl php7.0-gd -y
# Install MySQL Server
sudo apt-get install mysql-server -y
# phpMyAdmin
sudo apt-get install phpmyadmin apache2-utils -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment