Add xcache and imagick extensions to php