Support the ongoing development of Laravel.io →
Installation Configuration
Last updated 1 year ago.
0

one way would be to modify config files to do something like this:

'debug' => env('APP_DEBUG', false),

notice where it says false, put that to true/false so if there is no .env file it will set that to whatever you want it to default to.

btw how comes you cannot upload/create a .env file? in filezilla you can create a new text file.. rename it to .env etc

0

Thanks for the help I will try that.

I am hosting my application on IBM bluemix cloud, Which does not allow any access to the files with filezilla etc.

The only way to push your application is by using cloud foundry command line tool which just makes a copy of your app form local to bluemix cloud.

You can deploy also using the content of a git repository (which i use) but since I do not commit my .env to my source control the .env file is not uploaded to my app in bluemix cloud and i have no option to mannually add any file.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.

© 2024 Laravel.io - All rights reserved.