Skip to content

Commit 8d0fc66

Browse files
committed
minor #8307 Update deployment.rst (proArtex, javiereguiluz)
This PR was merged into the 3.3 branch. Discussion ---------- Update deployment.rst Looks like SYMFONY_ENV is no longer exists (flex + framework-bundle). It is now APP_ENV Commits ------- 8e072da Mentioned APP_ENV for Flex apps 0eee3f1 Update deployment.rst
2 parents a2a77a9 + 8e072da commit 8d0fc66

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

deployment.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,9 @@ as you normally do:
159159
.. caution::
160160

161161
If you get a "class not found" error during this step, you may need to
162-
run ``export SYMFONY_ENV=prod`` before running this command so that
163-
the ``post-install-cmd`` scripts run in the ``prod`` environment.
162+
  run ``export SYMFONY_ENV=prod`` (or ``export APP_ENV=prod`` if you're
163+
  using :doc:`Symfony Flex </setup/flex>`) before running this command so
164+
that the ``post-install-cmd`` scripts run in the ``prod`` environment.
164165

165166
D) Clear your Symfony Cache
166167
~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)