Skip to content

Instantly share code, notes, and snippets.

@hitapia
Last active December 27, 2015 13:03
Show Gist options
  • Select an option

  • Save hitapia/1237d62fe8e1a137fa45 to your computer and use it in GitHub Desktop.

Select an option

Save hitapia/1237d62fe8e1a137fa45 to your computer and use it in GitHub Desktop.
Install PHP7, apache2 and mysql
## Install PHP 7
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php-7.0
sudo apt-get update
sudo apt-get install -y php7.0
## Install Apache2
sudo add-apt-repository ppa:ondrej/apache2
sudo apt-get update
sudo apt-get install apache2
## Install MySql
sudo add-apt-repository -y ppa:ondrej/mysql-5.6
sudo apt-get update
sudo apt-get install mysql-server-5.6
## Install Other Modules
sudo apt-cache search php7-*
sudo apt-get install libapache2-mod-php7.0 php7.0-mysql php7.0-curl php7.0-json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment