add surpport the php > 5.3 and memcached extension

surpport the php 5.3 and memcached extension