fix throw

fix throw exception when memcached extension is not loaded