@@ -153,7 +153,7 @@ listen on. Each pool can also be run under a different UID and GID:
153
153
group = www-data
154
154
155
155
; use a unix domain socket
156
- listen = /var/run/php7.1-fpm.sock
156
+ listen = /var/run/php/ php7.1-fpm.sock
157
157
158
158
; or listen on a TCP socket
159
159
listen = 127.0.0.1:9000
@@ -251,7 +251,7 @@ instead:
251
251
252
252
.. code-block :: apache
253
253
254
- FastCgiExternalServer /usr/lib/cgi-bin/php7-fcgi -socket /var/run/php7.1-fpm.sock -pass-header Authorization
254
+ FastCgiExternalServer /usr/lib/cgi-bin/php7-fcgi -socket /var/run/php/ php7.1-fpm.sock -pass-header Authorization
255
255
256
256
.. _web-server-nginx :
257
257
@@ -274,7 +274,7 @@ The **minimum configuration** to get your application running under Nginx is:
274
274
# This rule should only be placed on your development environment
275
275
# In production, don't include this and don't deploy app_dev.php or config.php
276
276
location ~ ^/(app_dev|config)\.php(/|$) {
277
- fastcgi_pass unix:/run/php/php7.1-fpm.sock;
277
+ fastcgi_pass unix:/var/ run/php/php7.1-fpm.sock;
278
278
fastcgi_split_path_info ^(.+\.php)(/.*)$;
279
279
include fastcgi_params;
280
280
# When you are using symlinks to link the document root to the
@@ -289,7 +289,7 @@ The **minimum configuration** to get your application running under Nginx is:
289
289
}
290
290
# PROD
291
291
location ~ ^/app\.php(/|$) {
292
- fastcgi_pass unix:/run/php/php7.1-fpm.sock;
292
+ fastcgi_pass unix:/var/ run/php/php7.1-fpm.sock;
293
293
fastcgi_split_path_info ^(.+\.php)(/.*)$;
294
294
include fastcgi_params;
295
295
# When you are using symlinks to link the document root to the
0 commit comments