#!/usr/bin/env php Error: the memcached (or memcache) PHP extension appears to be unavailable. This is most likely because PHP doesn't load it for the command line version. You probably need to enable it somehow. It is possible that running one of the following commands as root will fix it: phpenmod -s cli memcached phpenmod -s cli memcache