Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • I think [this answer][1] is what you are looking for... [1]: stackoverflow.com/a/19739750/1272001 Commented Dec 19, 2013 at 12:18
  • I don't know your setup, but in general dev, staging and production shouldn't be able to access each others environment variables which means what you did would't be possible. Rather, it is safer to have production as default as dev environments potentially leaks confidential information, for example in error messages. Laravel has some documentatation about it here: laravel.com/docs/… Commented Feb 12, 2014 at 12:40