Skip to content

Some cache files might be written in runtime #11098

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion setup/file_permissions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ was writable. But that is no longer true! In Symfony 4, everything works automat

* In the ``prod`` environment (i.e. when ``APP_ENV`` is ``prod`` and ``APP_DEBUG``
is ``0``), as long as you run ``php bin/console cache:warmup``, no cache files
will need to be written to disk at runtime.
will need to be written to disk at runtime. An exception to this is any type of
runtime cache, for example a query result cache or DoctrineCacheBundle with a
file_system cache provider configured.

* In all environments, the log directory (``var/log/`` by default) must exist
and be writable by your web server user and terminal user. One way this can
Expand Down