Laravel 5.2 not reading env file

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

    Same thing happens when :port is in your local .env

    again the double quotes does the trick

    APP_URL="http://localhost:8000"
    

    and then

    php artisan config:clear
    

提交回复
热议问题