0

I'd like to use Lumen with Valet. I already install a fresh installation of Lumen and everything is ok. When I tried to use artisan (and renamed .env.example into .env like documentation says) console says me that I need Memcache. So I did:

brew install php70-memcache --build-from-source --HEAD

And after it console give me:

[RuntimeException]           
No Memcached servers added.  

How can I resolve it?

2 Answers2

1

Set the CACHE_DRIVER value to file or array, that worked for me

CACHE_DRIVER=file

vickris
  • 293
  • 2
  • 11
0

Your config is setup to look for memcached. In your .env file, comment out or remove the line:

CACHE_DRIVER=memcached

Then run artisan again.

Update

Try restarting your server and see if that helps.

Niraj Shah
  • 15,087
  • 3
  • 41
  • 60