Ended up setting the environment variables directly on the server. Then got rid of the .env.php and .env.staging.php files and everythings working now.
Here is another solution to deploying with .env files and multiple connections using Rocketeer.
http://dericcain.com/blog/deploying-laravel-5-with-rocketeer
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community