Skip to content

Commit bd7541d

Browse files
Update web_server_configuration.rst
Replace path /var/run/php7.1-fpm.sock by /var/run/php/php7.1-fpm.sock
1 parent 8f8ddff commit bd7541d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup/web_server_configuration.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ listen on. Each pool can also be run under a different UID and GID:
176176
group = www-data
177177
178178
; use a unix domain socket
179-
listen = /var/run/php7.1-fpm.sock
179+
listen = /var/run/php/php7.1-fpm.sock
180180
181181
; or listen on a TCP socket
182182
listen = 127.0.0.1:9000
@@ -274,7 +274,7 @@ instead:
274274

275275
.. code-block:: apache
276276
277-
FastCgiExternalServer /usr/lib/cgi-bin/php7-fcgi -socket /var/run/php7.1-fpm.sock -pass-header Authorization
277+
FastCgiExternalServer /usr/lib/cgi-bin/php7-fcgi -socket /var/run/php/php7.1-fpm.sock -pass-header Authorization
278278
279279
.. _web-server-nginx:
280280

@@ -295,7 +295,7 @@ The **minimum configuration** to get your application running under Nginx is:
295295
}
296296
297297
location ~ ^/index\.php(/|$) {
298-
fastcgi_pass unix:/var/run/php7.1-fpm.sock;
298+
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
299299
fastcgi_split_path_info ^(.+\.php)(/.*)$;
300300
include fastcgi_params;
301301

0 commit comments

Comments
 (0)