Skip to content

Commit 3d7c3b3

Browse files
juferchaudjaviereguiluz
authored andcommitted
No more ambiguity on prod mode
Because APP_ENV/SYMFONY_ENV=prod is mandatory when you want to enable the prod environment, it should be explained somewhere, explicitly.
1 parent 96038ec commit 3d7c3b3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

deployment.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,12 @@ If your application uses environment variables instead of these parameters, you
138138
must define those env vars in your production server using the tools provided by
139139
your hosting service.
140140

141+
.. tip::
142+
143+
You need to enable the ``prod`` environment with the environment variable
144+
  ``SYMFONY_ENV=prod`` (or ``APP_ENV=prod`` if you're
145+
  using :doc:`Symfony Flex </setup/flex>`)
146+
141147
C) Install/Update your Vendors
142148
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
143149

0 commit comments

Comments
 (0)