Skip to content

Instantly share code, notes, and snippets.

@vmanyushin
Last active August 9, 2018 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save vmanyushin/9dd40d70ff4c90c8324a to your computer and use it in GitHub Desktop.
Save vmanyushin/9dd40d70ff4c90c8324a 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