Laravel 5.2 not reading env file

前端 未结 26 2324
时光说笑
时光说笑 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条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-28 21:35

    For me it has worked this in this order:

    php artisan config:cache
    php artisan config:clear
    php artisan cache:clear
    

    And I've tried all the rests without luck.

提交回复
热议问题