Skip to content

Commit 23a8b39

Browse files
committed
Merge branch '5.1' into 5.2
* 5.1: Update the Nginx example
2 parents c075035 + 8ebccad commit 23a8b39

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup/web_server_configuration.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,9 @@ The **minimum configuration** to get your application running under Nginx is:
334334
# Otherwise, PHP's OPcache may not properly detect changes to
335335
# your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126
336336
# for more information).
337+
# Caveat: When PHP-FPM is hosted on a different machine from nginx
338+
# $realpath_root may not resolve as you expect! In this case try using
339+
# $document_root instead.
337340
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
338341
fastcgi_param DOCUMENT_ROOT $realpath_root;
339342
# Prevents URIs that include the front controller. This will 404:

0 commit comments

Comments
 (0)