HOWTO: Install php with imagick support in CentOS 6

Just copy and paste:

$ yum install make
$ yum install gcc
$ yum install php php-fpm php-devel php-pear
$ yum install ImageMagick ImageMagick-devel
$ pecl install imagick
$ echo "extension=imagick.so" > /etc/php.d/imagick.ini
 

Now, restart the web server.

That's it! Hope it helps you.