From 6fbf9caa17050fd69baa12be09e368c231b43b32 Mon Sep 17 00:00:00 2001 From: Godfrey Laswai Date: Mon, 4 Dec 2017 12:29:38 +0300 Subject: [PATCH] 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 --- setup/web_server_configuration.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/web_server_configuration.rst b/setup/web_server_configuration.rst index 9a0b439aa07..78c8b380f1e 100644 --- a/setup/web_server_configuration.rst +++ b/setup/web_server_configuration.rst @@ -274,7 +274,7 @@ The **minimum configuration** to get your application running under Nginx is: # This rule should only be placed on your development environment # In production, don't include this and don't deploy app_dev.php or config.php location ~ ^/(app_dev|config)\.php(/|$) { - fastcgi_pass unix:/var/run/php7.1-fpm.sock; + fastcgi_pass unix:/run/php/php7.1-fpm.sock; fastcgi_split_path_info ^(.+\.php)(/.*)$; include fastcgi_params; # 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: } # PROD location ~ ^/app\.php(/|$) { - fastcgi_pass unix:/var/run/php7.1-fpm.sock; + fastcgi_pass unix:/run/php/php7.1-fpm.sock; fastcgi_split_path_info ^(.+\.php)(/.*)$; include fastcgi_params; # When you are using symlinks to link the document root to the