Answer Posted / rishabh khanna
Errors and exception handling is already configured for you when you start a new Laravel project.
Normally, in a local environment we need to see errors for debugging purposes.
We need to hide these errors from users in production environment.
This can be achieved with the variable APP_DEBUG set in the environment file .env stored at the root of the application.
Note - After changing the APP_DEBUG variable, you should restart the Laravel server.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is laravel homestead?
What are laravel’s contracts?
What is validation in laravel and how it is used?
How to get cookies in laravel?
Explain the concept of cookies.
How we can upload files in laravel? Explain
What is the use of fillable in laravel?
How to install laravel?
Is laravel built on symfony?
How can you reduce memory usage in laravel?
Is laravel an mvc framework?
Explain how to do 301 redirects in laravel?
What is faker in laravel?
What is eloquent orm in laravel?
How do I register a service provider?