yum install -y gcc php56w-devel php56w-pear ImageMagick-devel wget http://www.imagemagick.org/download/ImageMagick.tar.gz tar -xvzf ImageMagick.tar.gz cd ImageMagick*
./configure make make install
pecl install imagick
extension=imagick.so