Support the ongoing development of Laravel.io →
posted 10 years ago
Configuration

Hey guys,

I deployed my application, and im currently using environment variables for my sensitive info - this works fine.

I want to add the debug => false to my application through an environment variable:

'debug' => getenv('DEBUG_STATUS'),
<?php 

return [
  
  'DEBUG_STATUS'    => true
  
];

This works alright for my local environment, but when I try to add the info on my server, it just returns: "Whoops! There were some problems with your input." -> not the actual error.

I set it as follows:

Key: DEBUG_STATUS
Value: false

Anyone who can help?

Last updated 3 years ago.
0

It seemed that there was a minor glitch in Forge, because now it is working using the above method, and I can indeed confirm that the above will work for your environment variables :).

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Reached reached Joined 27 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.