Last active
December 27, 2015 13:03
-
-
Save hitapia/1237d62fe8e1a137fa45 to your computer and use it in GitHub Desktop.
Install PHP7, apache2 and mysql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## 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