iRazaSyed's avatar

Lumen Memcached not Working?

Hi,

Does anyone know why Memcached is not worked with Lumen?

Basically, Whether it's my Homestead env or Production. Both have Memcached properly installed and using it with other apps including Laravel just fine.

However, Lumen on both with Memcached as its drivers doesn't work at all.

It ends up throwing:

PHP Fatal error:  Class 'Memcached' not found in /path/to/app/vendor/illuminate/cache/MemcachedConnector.php on line 52

This shows when i try clearing cache with php artisan cache:clear but otherwise the server ends up showing nothing and is a blank page if Memcached is the driver for Session/Cache.

0 likes
1 reply
iRazaSyed's avatar
iRazaSyed
OP
Best Answer
Level 3

Nevermind, What i had installed was actually memcache and not memcached very weird of this since the stack i install normally used to come with memcached.

Anyway, It seems like every time i ask a Question over here, I end up resolving it myself..lol

Please or to participate in this conversation.