Laravel 5.2 not reading env file

前端 未结 26 2174
时光说笑
时光说笑 2020-11-28 20:52

After upgrading to Laravel 5.2, none of my .env file values are being read. I followed the upgrade instructions; none of my config files were changed except aut

26条回答
  •  -上瘾入骨i
    2020-11-28 21:27

    I had the same issue on local environment, I resolved by

    1. php artisan config:clear
    2. php artisan config:cache
    3. and then cancelling php artisan serve command, and restart again.

提交回复
热议问题