Symfony how to list environmental variables

You can use this command to see what environmental variables Symfony can see.

php bin/console debug:dotenv

If it is not in that list, symfony cannot see it.

I just updated to version 5.4 and they have changed something because now all of my environmental variables are not seen.

So now I must do research and figure out what has been done and how to get my environmental variables back. I had them set as Linux system environment variables and it worked great. Then update and now BOOM DEAD.

The documentation here lists how to check the environmental variables towards the bottom of the page.






This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: