We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eee3f1 commit 8e072daCopy full SHA for 8e072da
deployment.rst
@@ -156,8 +156,9 @@ as you normally do:
156
.. caution::
157
158
If you get a "class not found" error during this step, you may need to
159
- run ``export APP_ENV=prod`` before running this command so that
160
- the ``post-install-cmd`` scripts run in the ``prod`` environment.
+ run ``export SYMFONY_ENV=prod`` (or ``export APP_ENV=prod`` if you're
+ using :doc:`Symfony Flex </setup/flex>`) before running this command so
161
+ that the ``post-install-cmd`` scripts run in the ``prod`` environment.
162
163
D) Clear your Symfony Cache
164
~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments