Skip to content

Commit c021ae1

Browse files
committed
minor #9596 Update web_server_configuration.rst (JuanLuisGarciaBorrego)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #9596). Discussion ---------- Update web_server_configuration.rst Replace path /var/run/php7.1-fpm.sock by /var/run/php/php7.1-fpm.sock <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- e20c490 Update web_server_configuration.rst
2 parents 3b41eeb + e20c490 commit c021ae1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup/web_server_configuration.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ listen on. Each pool can also be run under a different UID and GID:
153153
group = www-data
154154
155155
; use a unix domain socket
156-
listen = /var/run/php7.1-fpm.sock
156+
listen = /var/run/php/php7.1-fpm.sock
157157
158158
; or listen on a TCP socket
159159
listen = 127.0.0.1:9000
@@ -251,7 +251,7 @@ instead:
251251

252252
.. code-block:: apache
253253
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
255255
256256
.. _web-server-nginx:
257257

@@ -274,7 +274,7 @@ The **minimum configuration** to get your application running under Nginx is:
274274
# This rule should only be placed on your development environment
275275
# In production, don't include this and don't deploy app_dev.php or config.php
276276
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;
278278
fastcgi_split_path_info ^(.+\.php)(/.*)$;
279279
include fastcgi_params;
280280
# 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:
289289
}
290290
# PROD
291291
location ~ ^/app\.php(/|$) {
292-
fastcgi_pass unix:/run/php/php7.1-fpm.sock;
292+
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
293293
fastcgi_split_path_info ^(.+\.php)(/.*)$;
294294
include fastcgi_params;
295295
# When you are using symlinks to link the document root to the

0 commit comments

Comments
 (0)