PHP memcached and mysql support with basic tests