Last active
March 29, 2016 07:02
-
-
Save akeinhell/aca88222230d76389c60 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi | |
apt-get install -y language-pack-en-base | |
LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php | |
apt-get update | |
apt-get install \ | |
php7.0 \ | |
php7.0-common \ | |
php7.0-cgi \ | |
php7.0-fpm \ | |
php7.0-mysql \ | |
php7.0-curl \ | |
php7.0-mcrypt \ | |
php7.0-pgsql \ | |
php7.0-cli \ | |
libapache2-mod-php7.0 \ | |
php7.0-mbstring \ | |
php7.0-bcmath \ | |
php-xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment