Laravel 5.2 not reading env file

前端 未结 26 2320
时光说笑
时光说笑 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:22

    I had a similar issue in my config/services.php and I solved using config clear and optimize commands:

    php artisan config:clear
    php artisan optimize
    

提交回复
热议问题