mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-23 14:59:00 +01:00
Fixed PHP5 -> PHP7
This commit is contained in:
parent
5c495624b3
commit
1c814ad1f9
@ -12,7 +12,7 @@
|
|||||||
; Relative path can also be used. They will be prefixed by:
|
; Relative path can also be used. They will be prefixed by:
|
||||||
; - the global prefix if it's been set (-p argument)
|
; - the global prefix if it's been set (-p argument)
|
||||||
; - /usr otherwise
|
; - /usr otherwise
|
||||||
include = /etc/php5/fpm.d/*.conf
|
include = /etc/php7/fpm.d/*.conf
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;
|
||||||
; Global Options ;
|
; Global Options ;
|
||||||
@ -161,7 +161,7 @@ group = nginx
|
|||||||
; (IPv6 and IPv4-mapped) on a specific port;
|
; (IPv6 and IPv4-mapped) on a specific port;
|
||||||
; '/path/to/unix/socket' - to listen on a unix socket.
|
; '/path/to/unix/socket' - to listen on a unix socket.
|
||||||
; Note: This value is mandatory.
|
; Note: This value is mandatory.
|
||||||
listen = /var/run/php5-fpm.sock
|
listen = /var/run/php7-fpm.sock
|
||||||
|
|
||||||
; Set listen(2) backlog.
|
; Set listen(2) backlog.
|
||||||
; Default Value: 65535 (-1 on FreeBSD and OpenBSD)
|
; Default Value: 65535 (-1 on FreeBSD and OpenBSD)
|
||||||
|
@ -51,7 +51,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location ~ .php$ {
|
location ~ .php$ {
|
||||||
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
fastcgi_pass unix:/var/run/php7-fpm.sock;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
|
|
||||||
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;
|
||||||
|
@ -75,7 +75,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location ~ .php$ {
|
location ~ .php$ {
|
||||||
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
fastcgi_pass unix:/var/run/php7-fpm.sock;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
|
|
||||||
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
; Relative path can also be used. They will be prefixed by:
|
; Relative path can also be used. They will be prefixed by:
|
||||||
; - the global prefix if it's been set (-p argument)
|
; - the global prefix if it's been set (-p argument)
|
||||||
; - /usr otherwise
|
; - /usr otherwise
|
||||||
include = /etc/php5/fpm.d/*.conf
|
include = /etc/php7/fpm.d/*.conf
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;
|
||||||
; Global Options ;
|
; Global Options ;
|
||||||
@ -161,7 +161,7 @@ group = nginx
|
|||||||
; (IPv6 and IPv4-mapped) on a specific port;
|
; (IPv6 and IPv4-mapped) on a specific port;
|
||||||
; '/path/to/unix/socket' - to listen on a unix socket.
|
; '/path/to/unix/socket' - to listen on a unix socket.
|
||||||
; Note: This value is mandatory.
|
; Note: This value is mandatory.
|
||||||
listen = /var/run/php5-fpm.sock
|
listen = /var/run/php7-fpm.sock
|
||||||
|
|
||||||
; Set listen(2) backlog.
|
; Set listen(2) backlog.
|
||||||
; Default Value: 65535 (-1 on FreeBSD and OpenBSD)
|
; Default Value: 65535 (-1 on FreeBSD and OpenBSD)
|
||||||
|
@ -51,7 +51,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location ~ .php$ {
|
location ~ .php$ {
|
||||||
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
fastcgi_pass unix:/var/run/php7-fpm.sock;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
|
|
||||||
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;
|
||||||
|
@ -75,7 +75,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location ~ .php$ {
|
location ~ .php$ {
|
||||||
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
fastcgi_pass unix:/var/run/php7-fpm.sock;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
|
|
||||||
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $webroot$fastcgi_script_name;
|
||||||
|
Loading…
Reference in New Issue
Block a user