Skip to content

Instantly share code, notes, and snippets.

View akeinhell's full-sized avatar
:bowtie:

Алексей Дорохов akeinhell

:bowtie:
  • vsemayki.ru
  • Новосибирск
View GitHub Profile
@akeinhell
akeinhell / installphp7.sh
Last active December 9, 2015 07:37 — forked from tronsha/installphp7.sh
Install PHP7 to Ubuntu
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
apt-get update
apt-get install -y git-core autoconf bison libxml2-dev libbz2-dev libmcrypt-dev libcurl4-openssl-dev libltdl-dev libpng-dev libpspell-dev libreadline-dev
mkdir -p /etc/php7/conf.d
mkdir -p /etc/php7/cli/conf.d
mkdir /usr/local/php7