ImageMagick

Updated 28-Jun-2024

This page is for ongoing issues and awesomeness that is ImageMagick As of early May 2016, there is a big exploit out there called ImageTragick, but a recent patched version should help. The main fix is to edit the /etc/ImageMagick/policy.xml to include:


## Installing ImageMagick on CentOS
sudo yum install -y gcc php-devel php-pear sudo yum install -y ImageMagick ImageMagick-devel sudo yum install php-pear gcc sudo yum install ImageMagick ImageMagick-devel ImageMagick-perl sudo pecl install Imagick sudo echo extension=imagick.so >> /etc/php.ini sudo service httpd restart sudo php -m | grep imagick