pointing fastcgi_pass path to match php7.0-fpm (on debian stretch) (#2021)

This commit is contained in:
Felipe Fonseca 2018-06-08 18:36:11 -03:00 committed by Andy Miller
parent da7a93527d
commit bd7706a38e

View File

@ -30,7 +30,8 @@ server {
## Begin - PHP
location ~ \.php$ {
# Choose either a socket or TCP/IP address
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
# fastcgi_pass unix:/var/run/php5-fpm.sock; #legacy
# fastcgi_pass 127.0.0.1:9000;
fastcgi_split_path_info ^(.+\.php)(/.+)$;