Add PHP 7.1 socket to site templates
This commit is contained in:
parent
3ca055034e
commit
0cfa227a3c
@ -35,8 +35,9 @@ server {
|
||||
try_files $uri =404;
|
||||
include global/fastcgi-params.conf;
|
||||
|
||||
# Change socket if using PHP pools or PHP 5
|
||||
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
||||
# Change socket if using PHP pools or different PHP version
|
||||
fastcgi_pass unix:/run/php/php7.1-fpm.sock;
|
||||
#fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
||||
#fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
|
||||
# Skip cache based on rules in global/server/fastcgi-cache.conf.
|
||||
|
||||
@ -30,9 +30,10 @@ server {
|
||||
try_files $uri =404;
|
||||
include global/fastcgi-params.conf;
|
||||
|
||||
# Change socket if using PHP pools or PHP 5
|
||||
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
||||
#fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
# Change socket if using PHP pools or different PHP version
|
||||
fastcgi_pass unix:/run/php/php7.1-fpm.sock;
|
||||
#fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
||||
#fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -27,9 +27,10 @@ server {
|
||||
try_files $uri =404;
|
||||
include global/fastcgi-params.conf;
|
||||
|
||||
# Change socket if using PHP pools or PHP 5
|
||||
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
||||
#fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
# Change socket if using PHP pools or different PHP version
|
||||
fastcgi_pass unix:/run/php/php7.1-fpm.sock;
|
||||
#fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
||||
#fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -27,9 +27,10 @@ server {
|
||||
try_files $uri =404;
|
||||
include global/fastcgi-params.conf;
|
||||
|
||||
# Change socket if using PHP pools or PHP 5
|
||||
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
||||
#fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
# Change socket if using PHP pools or different PHP version
|
||||
fastcgi_pass unix:/run/php/php7.1-fpm.sock;
|
||||
#fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
||||
#fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -42,9 +42,10 @@ server {
|
||||
try_files $uri =404;
|
||||
include global/fastcgi-params.conf;
|
||||
|
||||
# Change socket if using PHP pools or PHP 5
|
||||
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
||||
#fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
# Change socket if using PHP pools or different PHP version
|
||||
fastcgi_pass unix:/run/php/php7.1-fpm.sock;
|
||||
#fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
||||
#fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
|
||||
# Skip cache based on rules in global/server/fastcgi-cache.conf.
|
||||
fastcgi_cache_bypass $skip_cache;
|
||||
|
||||
@ -34,9 +34,10 @@ server {
|
||||
try_files $uri =404;
|
||||
include global/fastcgi-params.conf;
|
||||
|
||||
# Change socket if using PHP pools or PHP 5
|
||||
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
||||
#fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
# Change socket if using PHP pools or different PHP version
|
||||
fastcgi_pass unix:/run/php/php7.1-fpm.sock;
|
||||
#fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
||||
#fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user