Add PHP 7.1 socket to site templates

This commit is contained in:
Ashley Rich 2017-07-31 10:11:41 +01:00
parent 3ca055034e
commit 0cfa227a3c
6 changed files with 23 additions and 17 deletions

View File

@ -35,8 +35,9 @@ server {
try_files $uri =404; try_files $uri =404;
include global/fastcgi-params.conf; include global/fastcgi-params.conf;
# Change socket if using PHP pools or PHP 5 # Change socket if using PHP pools or different PHP version
fastcgi_pass unix:/run/php/php7.0-fpm.sock; 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; #fastcgi_pass unix:/var/run/php5-fpm.sock;
# Skip cache based on rules in global/server/fastcgi-cache.conf. # Skip cache based on rules in global/server/fastcgi-cache.conf.

View File

@ -30,8 +30,9 @@ server {
try_files $uri =404; try_files $uri =404;
include global/fastcgi-params.conf; include global/fastcgi-params.conf;
# Change socket if using PHP pools or PHP 5 # Change socket if using PHP pools or different PHP version
fastcgi_pass unix:/run/php/php7.0-fpm.sock; 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; #fastcgi_pass unix:/var/run/php5-fpm.sock;
} }
} }

View File

@ -27,8 +27,9 @@ server {
try_files $uri =404; try_files $uri =404;
include global/fastcgi-params.conf; include global/fastcgi-params.conf;
# Change socket if using PHP pools or PHP 5 # Change socket if using PHP pools or different PHP version
fastcgi_pass unix:/run/php/php7.0-fpm.sock; 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; #fastcgi_pass unix:/var/run/php5-fpm.sock;
} }
} }

View File

@ -27,8 +27,9 @@ server {
try_files $uri =404; try_files $uri =404;
include global/fastcgi-params.conf; include global/fastcgi-params.conf;
# Change socket if using PHP pools or PHP 5 # Change socket if using PHP pools or different PHP version
fastcgi_pass unix:/run/php/php7.0-fpm.sock; 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; #fastcgi_pass unix:/var/run/php5-fpm.sock;
} }
} }

View File

@ -42,8 +42,9 @@ server {
try_files $uri =404; try_files $uri =404;
include global/fastcgi-params.conf; include global/fastcgi-params.conf;
# Change socket if using PHP pools or PHP 5 # Change socket if using PHP pools or different PHP version
fastcgi_pass unix:/run/php/php7.0-fpm.sock; 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; #fastcgi_pass unix:/var/run/php5-fpm.sock;
# Skip cache based on rules in global/server/fastcgi-cache.conf. # Skip cache based on rules in global/server/fastcgi-cache.conf.

View File

@ -34,8 +34,9 @@ server {
try_files $uri =404; try_files $uri =404;
include global/fastcgi-params.conf; include global/fastcgi-params.conf;
# Change socket if using PHP pools or PHP 5 # Change socket if using PHP pools or different PHP version
fastcgi_pass unix:/run/php/php7.0-fpm.sock; 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; #fastcgi_pass unix:/var/run/php5-fpm.sock;
} }
} }