Troubleshooting PHP5 Memcache Connetion Error

I have just installed PHP5 Memcache on my Xubuntu dev machine and every page loaded was returning me an annoying error of Memcache connection error.

Warning: Memcache::connect() [memcache.connect]: Can't connect to localhost:11211, Connection refused (111)

When after you tried everything it still doesn’t work, you got to research for something that will actually correct your issue. With that in mind I found this great post that shows a very easy trouble shooting for fixing the connection error with Memcache.

The post is related to installing, but the last 3 commands will help you do a full troubleshoot with your current Memcache configuration.

Follow the link: http://netweblogic.com/php/installing-memcache-for-php-5-on-linux-centos/

Advertisements

About mcloide

Making things simpler, just check: http://www.mcloide.com View all posts by mcloide

One response to “Troubleshooting PHP5 Memcache Connetion Error

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: