Laravel Lumen Memcached not found

后端 未结 12 1763
無奈伤痛
無奈伤痛 2021-01-31 01:55

Ok, I just started with Lumen and I\'m trying to use the Auth, but a call to either Auth::check or any other function of Auth.. leads to the below Error Fatal error: Cla

12条回答
  •  孤独总比滥情好
    2021-01-31 02:36

    Make sure not to get caught out by your .env file not being loaded, which by default it's commented out in Lumen. So if you are specifying a different cache driver in your .env, do the following.

    Note: If you are using the .env file to configure your application, don't forget to uncomment the Dotenv::load() method in your bootstrap/app.php file.

    Source: http://lumen.laravel.com/docs/cache

提交回复
热议问题