Skip to content

Commit 3318f2e

Browse files
committed
app/(cache|logs) -> var/(cache|logs)
1 parent 1461bdc commit 3318f2e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

book/installation.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ If there are any issues, correct them now before moving on.
214214

215215
.. sidebar:: Setting up Permissions
216216

217-
One common issue when installing Symfony is that the ``app/cache`` and
218-
``app/logs`` directories must be writable both by the web server and the
217+
One common issue when installing Symfony is that the ``var/cache`` and
218+
``var/logs`` directories must be writable both by the web server and the
219219
command line user. On a UNIX system, if your web server user is different
220220
from your command line user, you can try one of the following solutions.
221221

@@ -236,12 +236,12 @@ If there are any issues, correct them now before moving on.
236236

237237
.. code-block:: bash
238238
239-
$ rm -rf app/cache/*
240-
$ rm -rf app/logs/*
239+
$ rm -rf var/cache/*
240+
$ rm -rf var/logs/*
241241
242242
$ HTTPDUSER=`ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
243-
$ sudo chmod +a "$HTTPDUSER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
244-
$ sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
243+
$ sudo chmod +a "$HTTPDUSER allow delete,write,append,file_inherit,directory_inherit" var/cache var/logs
244+
$ sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" var/cache var/logs
245245
246246
247247
**3. Using ACL on a system that does not support chmod +a**
@@ -255,8 +255,8 @@ If there are any issues, correct them now before moving on.
255255
.. code-block:: bash
256256
257257
$ HTTPDUSER=`ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1`
258-
$ sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX app/cache app/logs
259-
$ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX app/cache app/logs
258+
$ sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX var/cache var/logs
259+
$ sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX var/cache var/logs
260260
261261
If this doesn't work, try adding ``-n`` option.
262262

book/templating.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Twig Template Caching
159159

160160
Twig is fast. Each Twig template is compiled down to a native PHP class
161161
that is rendered at runtime. The compiled classes are located in the
162-
``app/cache/{environment}/twig`` directory (where ``{environment}`` is the
162+
``var/cache/{environment}/twig`` directory (where ``{environment}`` is the
163163
environment, such as ``dev`` or ``prod``) and in some cases can be useful
164164
while debugging. See :ref:`environments-summary` for more information on
165165
environments.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy