# deb http: //ftp.ru.debian.org/debian/ squeeze main
')
deb http: //ftp.ru.debian.org/debian/ squeeze main non-free contrib
deb-src http: //ftp.ru.debian.org/debian/ squeeze main non-free contrib
#security
deb http: //security.debian.org/ squeeze / updates main contrib non-free
deb-src http: //security.debian.org/ squeeze / updates main contrib non-free
# squeeze-updates, previously known as 'volatile'
deb http: //ftp.ru.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http: //ftp.ru.debian.org/debian/ squeeze-updates main contrib non-free
#UNSTABLE
deb http: //ftp.ru.debian.org/debian/ unstable main non-free contrib
deb-src http: //ftp.ru.debian.org/debian/ unstable main non-free contrib
#TESTING
deb http: //ftp.ru.debian.org/debian/ testing main non-free contrib
deb-src http: //ftp.ru.debian.org/debian/ testing main non-free contrib
# Updating PHP5 and NGINX
# The Pin-Priority field tells you which repository from which packages to take
# Packages php5-fpm, nginx and everything auxiliary is better to take from stable, then search in testing, and then in unstable if it fits.
# PHP5, NGINX
Package: php5-fpm nginx php5-common libpcre3 nginx-full libgeoip1
Pin: release a = stable
Pin-Priority: 700
Package: php5-fpm nginx php5-common libpcre3 nginx-full libgeoip1
Pin: release a = testing
Pin-Priority: 650
Package: php5-fpm nginx php5-common libpcre3 nginx-full libgeoip1
Pin: release a = unstable
Pin-Priority: 600
#OTHER
Package: *
Pin: release a = stable
Pin priority: 550
#OTHER
Package: *
Pin: release a = testing
Pin priority: 500
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
location ~ \.php$ {
fastcgi_pass unix:/var/php-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
Source: https://habr.com/ru/post/120943/
All Articles