Run the following commands
yum install ImageMagick
yum install ImageMagick-devel
yum install php-pear
pecl install imagick
echo "extension=imagick.so"> /etc/php.d/imagick.ini
service httpd restart
check Imagick is configured corectly by following command.
php -m | grep imagick
this will display output as "Imagick" that means you are Done.