8000 Add hint about variables_order ini setting required · xelaris/symfony-docs@ee02b68 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee02b68

Browse files
DracoBlueOskarStark
authored andcommitted
Add hint about variables_order ini setting required
1 parent 4ac5b91 commit ee02b68

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
@@ -792,7 +792,9 @@ the right situation:
792792
but the overrides only apply to one environment.
793793

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

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

0 commit comments

Comments
 (0)
0