Install curl, mongo, imagick and memcached extensions for PHP