8000 comment · craue/symfony-docs@93a17c8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 93a17c8

Browse files
kendrick-kweaverryan
authored andcommitted
comment
# symlink issue with PHP-FPM and OPcache. Symlink may not be refreshed, so it's necessary to use a real path (eg. after a deployment with Capifony which uses the current symlink to point towards a release directory, you may notice that PHP-FPM displays old pages or freezes) :
1 parent cdf1741 commit 93a17c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/configuration/web_server_configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ The **minimum configuration** to get your application running under Nginx is:
269269
fastcgi_split_path_info ^(.+\.php)(/.*)$;
270270
include fastcgi_params;
271271
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
272-
# symlink
272+
# symlink issue with PHP-FPM and OPcache. Symlink may not be refreshed, so it's necessary to use a real path (eg. after a deployment with Capifony which uses the current symlink to point towards a release directory, you may notice that PHP-FPM displays old pages or freezes) :
273273
fastcgi_param DOCUMENT_ROOT $realpath_root;
274274
}
275275
# PROD
@@ -278,7 +278,7 @@ The **minimum configuration** to get your application running under Nginx is:
278278
fastcgi_split_path_info ^(.+\.php)(/.*)$;
279279
include fastcgi_params;
280280
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
281-
# symlink
281+
# symlink issue with PHP-FPM and OPcache. Symlink may not be refreshed, so it's necessary to use a real path (eg. after a deployment with Capifony which uses the current symlink to point towards a release directory, you may notice that PHP-FPM displays old pages or freezes) :
282282
fastcgi_param DOCUMENT_ROOT $realpath_root;
283283
# Prevents URIs that include the front controller. This will 404:
284284
# http://domain.tld/app.php/some-path

0 commit comments

Comments
 (0)
0