Skip to content

Commit 557d568

Browse files
authored
Add hint about variables_order ini setting required
1 parent 5404ee4 commit 557d568

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configuration.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,9 @@ the right situation:
767767
but the overrides only apply to one environment.
768768

769769
*Real* environment variables always win over env vars created by any of the
770-
``.env`` files.
770+
``.env`` files. This behavior depends on
771+
`variables_order <http://php.net/manual/en/ini.core.php#ini.variables-order>`_ to
772+
contain an ``E`` to expose the ``$_ENV`` superglobal.
771773

772774
The ``.env`` and ``.env.<environment>`` files should be committed to the
773775
repository because they are the same for all developers and machines. However,

0 commit comments

Comments
 (0)