replace php5.6 and php7.0 by php7.2

Cette révision appartient à :
VirtuBox 2019-01-12 08:43:33 +01:00
Parent 26ae7a9ec7
révision dcff1216ed
1 fichiers modifiés avec 16 ajouts et 23 suppressions

Voir le fichier

@ -1,11 +1,17 @@
# Common upstream settings
# replace php5.6 and php7.0 by php7.2
##################
# php5.6-fpm
##################
upstream php {
server 127.0.0.1:9000;
least_conn;
server unix:/var/run/php/php72-fpm.sock;
server unix:/var/run/php/php72-two-fpm.sock;
keepalive 5;
}
upstream debug {
# Debug Pool
@ -16,21 +22,12 @@ server 127.0.0.1:9001;
# php7.0-fpm
##################
# TCP/IP on loopback interface
upstream php7 {
server 127.0.0.1:9070;
}
upstream debug7 {
server 127.0.0.1:9170;
}
# load-balancing on unix socket
upstream php7-sock {
upstream php7 {
least_conn;
server unix:/var/run/php/php70-fpm.sock;
server unix:/var/run/php/php70-two-fpm.sock;
server unix:/var/run/php/php72-fpm.sock;
server unix:/var/run/php/php72-two-fpm.sock;
keepalive 5;
}
@ -41,15 +38,11 @@ keepalive 5;
# TCP/IP on loopback interface
upstream php71 {
server 127.0.0.1:9080;
}
# load-balancing on unix socket
upstream php71-sock {
least_conn;
server unix:/var/run/php/php71-fpm.sock;
server unix:/var/run/php/php71-two-fpm.sock;
server unix:/var/run/php/php72-fpm.sock;
server unix:/var/run/php/php72-two-fpm.sock;
keepalive 5;
}
@ -59,12 +52,12 @@ keepalive 5;
##################
# TCP/IP on loopback interface
upstream php72 {
upstream php72-tcp {
server 127.0.0.1:9090;
}
# load-balancing on unix socket
upstream php72-sock {
upstream php72 {
least_conn;
server unix:/var/run/php/php72-fpm.sock;
@ -78,12 +71,12 @@ keepalive 5;
##################
# TCP/IP on loopback interface
upstream php73 {
upstream php73-tcp {
server 127.0.0.1:9093;
}
# load-balancing on unix socket
upstream php73-sock {
upstream php73 {
least_conn;
server unix:/var/run/php/php73-fpm.sock;