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!
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