Wednesday, March 8, 2017

Could not establish Memcached connection

I'm trying to create a connection from my PHP application to Memcache, however I keep getting the error 'Could not establish Memcached connection'.

Here's my package version information

Laravel Version: 5.0.32
PHP Version:5.4.39-0+deb7u2
Database Driver & Version:mysql Ver 14.14 Distrib 5.5.31
Server&Version :Debian:7.1.
-memcached:1.4.13-0.2
-php5-memcached:2.0.1-6

I have ensured that memcached is running, as executing service memcached status yields "memcached is running".

I have two servers where my project is deployed:

  • ubuntu, with memcached:2.1.0 installed
  • debian, with memcached:2.0.1 installed

Is there a version conflict?



via David Welson

Advertisement