.env environment variables when working with Apache

I’m getting in the habit of using a .env file for loading environment variables. Laravel already uses them for setting up configuration. It’s a nice way to setup variables that can be used in bash or through a php library like vlucas/phpdotenv. For a site I’m working on I wanted the environment variable APP_ENV set to “local” in… Continue reading .env environment variables when working with Apache