Skip to content

Commit 3b106b8

Browse files
committed
minor #8820 Update web_server_configuration.rst (sundayglee)
This PR was submitted for the 3.4 branch but it was merged into the 2.7 branch instead (closes #8820). Discussion ---------- Update web_server_configuration.rst On Ubuntu 16.04, the location of php7.1 fpm socket is at /run/php/php7.1-fpm.sock and not on /var/run/php7.1-fpm.sock Commits ------- 6fbf9ca Update web_server_configuration.rst
2 parents c495430 + 6fbf9ca commit 3b106b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup/web_server_configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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:/var/run/php7.1-fpm.sock;
277+
fastcgi_pass unix:/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:/var/run/php7.1-fpm.sock;
292+
fastcgi_pass unix:/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)