I also use this method to verify that Memcache is properly configured on the server since it returns false if there is something wrong. So you can do something like this:<?php$memcache = new Memcache;if ($memcache->getVersion() === false) { throw new Exception('Please, verify the Memcache configuration');}