Added note about exporting SYMFONY_ENV

New PR to replace the mess I made in #4001. Sorry about that. I also applied all the suggestions.