Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save basoro/6d16dbc47f52901460cd7aab842d98b9 to your computer and use it in GitHub Desktop.
Save basoro/6d16dbc47f52901460cd7aab842d98b9 to your computer and use it in GitHub Desktop.
Install php 5.6 on Debian7
apt-get install software-properties-common python-software-properties
add-apt-repository 'deb http://packages.dotdeb.org wheezy-php56 all'
add-apt-repository 'deb-src http://packages.dotdeb.org wheezy-php56 all'
~~~~~~~~~~~~ jessy
add-apt-repository 'deb http://packages.dotdeb.org jessie all'
add-apt-repository 'deb-src http://packages.dotdeb.org jessie all'
~~~~~~~~~~~~
wget http://www.dotdeb.org/dotdeb.gpg
apt-key add dotdeb.gpg
apt-get update
apt-get install php5-fpm php5-cli php5 php5-mysql
~~~~~~~~~~ nginx
wget http://nginx.org/keys/nginx_signing.key
apt-key add nginx_signing.key
add-apt-repository 'deb http://nginx.org/packages/debian/ wheezy nginx'
apt-get install nginx
~~~~~~~~~~ MariaDB
apt-get install python-software-properties
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
add-apt-repository 'deb http://mirror.timeweb.ru/mariadb/repo/10.1/debian wheezy main'
apt-get update
apt-get install mariadb-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment