File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,16 +4,16 @@ Setting up or Fixing File Permissions
4
4
In Symfony 3.x, you needed to do some extra work to make sure that your cache directory
5
5
was writable. But that is no longer true! In Symfony 4, everything works automatically:
6
6
7
- * In the ``dev `` environment, ``umask `` is used in ``bin/console `` and ``web/index.php ``
7
+ * In the ``dev `` environment, ``umask() `` is used in ``bin/console `` and ``web/index.php ``
8
8
so that any created files are writable by everyone.
9
9
10
10
* In the ``prod `` environment (i.e. when ``APP_ENV `` is ``prod `` and ``APP_DEBUG ``
11
- is ``0) `` , as long as you run ``php bin/console cache:warmup ``, no cache files
11
+ is ``0 ``) , as long as you run ``php bin/console cache:warmup ``, no cache files
12
12
will need to be written to disk at runtime.
13
13
14
14
.. note ::
15
15
16
16
If you decide to store log files on disk, you *will * need to make sure your
17
- logs directory (e.g. ``var/logs ``) is writable by your web server user and
18
- terminal user. One way this can be done is by using ``chmod 777 -R var/logs ``.
17
+ logs directory (e.g. ``var/log/ ``) is writable by your web server user and
18
+ terminal user. One way this can be done is by using ``chmod 777 -R var/log/ ``.
19
19
Just be aware that your logs are readable by any user on your production system.
You can’t perform that action at this time.
0 commit comments