Fix APC leak and add memcache status page