File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,19 @@ named ``APP_CACHE_DIR`` whose value is the full path of the cache folder.
118118 its own cached configuration files, and so each needs its own directory to
119119 store those cache files.
120120
121+ In case you have multiple frontend servers using the same shared filesystem, you
122+ can make use of the :method: `Symfony\C omponent\H ttpKernel\K ernel::getShareDir ` method to
123+ get a shared directory for cache and shared data. The shared directory can be set
124+ by overriding an environment variable named ``APP_SHARE_DIR `` whose value is the full
125+ path of the shared folder. This directory is also accessible as a container parameter
126+ named ``%kernel.share_dir% ``.
127+
128+ .. versionadded :: 7.4
129+
130+ The ``Kernel::getShareDir() `` method, the ``%kernel.share_dir `` parameter and
131+ the support for the ``APP_SHARE_DIR `` environment variable were introduced
132+ in Symfony 7.4.
133+
121134.. _override-logs-dir :
122135
123136Override the Log Directory
You can’t perform that action at this time.
0 commit comments