Monday, December 26, 2016

Solution for not affecting the changes in .env file in laravel

Laravel : After make changes to env file it is better to run the following command to affect the new changes in your application.

If you change the .env file content and it is not affecting then run the following command from the command prompt

php artisan config:cache

It will show the following result :

Configuration cache cleared!
Configuration cached successfully!

No comments:

Post a Comment