# yum install -y ImageMagick-devel # pecl install imagick cat > /srv/php/etc/conf.d/imagick.ini <<EOF extension=imagick.so EOF