Laravel 5.2 not reading env file

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

    The simplicity is the power:

    php artisan config:cache
    

    You will receive:

    Configuration cache cleared!

    Configuration cached successfully!

提交回复
热议问题