Skip to content

Commit

Permalink
Update web_server_configuration.rst
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sundayglee authored and xabbuh committed Dec 22, 2017
1 parent c495430 commit 6fbf9ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup/web_server_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6fbf9ca

Please sign in to comment.