Configures Memcached for use with PHP.