{"id":122,"date":"2021-07-30T00:47:33","date_gmt":"2021-07-30T00:47:33","guid":{"rendered":"https:\/\/www.hostduplex.com\/kb\/?post_type=ht_kb&#038;p=122"},"modified":"2021-07-30T04:14:11","modified_gmt":"2021-07-30T04:14:11","slug":"how-to-install-imagemagick-on-cpanel-running-cloudlinux-8","status":"publish","type":"ht_kb","link":"https:\/\/www.hostduplex.com\/kb\/article\/how-to-install-imagemagick-on-cpanel-running-cloudlinux-8\/","title":{"rendered":"How to install ImageMagick on cPanel running CloudLinux 8"},"content":{"rendered":"\n<p>This tutorial describes how to install the ImageMagick software suite on a cPanel server running <a href=\"https:\/\/www.cloudlinux.com\/\" target=\"_blank\" rel=\"noopener\">CloudLinux 8<\/a>. ImageMagick is a common software suite using by WordPress, other CMS applications, and forum software such as <a href=\"https:\/\/xenforo.com\" target=\"_blank\" rel=\"noopener\">XenForo<\/a> and <a href=\"https:\/\/vbulletin.com\" target=\"_blank\" rel=\"noopener\">vBulletin<\/a>.<\/p>\n\n\n\n<p><meta charset=\"utf-8\">If not installed, the <strong>WordPress Site Health<\/strong> will show <strong>imagick<\/strong> (ImageMagick), is <strong>not installed<\/strong>, or has been disabled.  If you are a server administrator, you can install <strong>imagick<\/strong> and <strong>php-imagick<\/strong> on servers with cPanel running CentOS 7 using the following instructions.<\/p>\n\n\n\n<p><strong>MANUAL INSTALLATION:<\/strong> <br><br><strong>Step 1: <\/strong>Install the ImageMagick-devel package<\/p>\n\n\n\n<p><pre>dnf -y install ImageMagick-devel<\/pre><\/p>\n\n\n\n<p><strong> Step 2:<\/strong> Install ImageMagick via the PHP Extension Community Library (PECL):<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">You must run the command below for every PHP installed you have on your server. If you want ImageMagick installed on PHP 7.4, change &#8220;ea-php80&#8221; to &#8220;ea-php74&#8221;<\/p>\n\n\n\n<p><pre>printf \"\\n\" | \/opt\/cpanel\/ea-php80\/root\/usr\/bin\/pecl install imagick<\/pre><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><p><strong> Step 3:&nbsp;<\/strong>Update CageFS:<\/p>\n<pre>cagefsctl --force-update<\/pre><\/p>\n\n\n\n<p><strong> Step 4:<\/strong> Verify ImageMagick is installed<\/p>\r\n<p>\n\n\n\n<\/p>\r\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">Note: This verification step only works if you installed ImageMagick on your system&#8217;s default PHP version.<\/p>\r\n<p>\n\n\n\n<\/p>\r\n<pre>php -i | grep -i 'ImageMagick version'<\/pre>\r\n<p>\n\n\n\n<\/p>\r\n<p>The result output should be similar to the following:<\/p>\r\n<p><em>Imagick compiled with ImageMagick version =&gt; ImageMagick 6.9.10-86 Q16 x86_64 2020-01-13 https:\/\/imagemagick.org<\/em><\/p>\r\n<p>\n\n\n\n<\/p>\r\n<p><strong>Congratulations, you have successfully installed ImageMagick<\/strong><\/p>\r\n<p>\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial describes how to install the ImageMagick software suite on a cPanel server running CloudLinux 8. ImageMagick is a common software suite using by WordPress, other CMS applications, and forum software such as XenForo and vBulletin. If not installed, the WordPress Site Health will show imagick (ImageMagick), is not&#8230;<\/p>\n","protected":false},"author":2,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[19,20],"ht-kb-tag":[22,23,21,24,25,44,45,43],"class_list":["post-122","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-cloudlinux-8","ht_kb_category-cpanel","ht_kb_tag-cloudlinux","ht_kb_tag-cpanel","ht_kb_tag-imagemagick","ht_kb_tag-imagick","ht_kb_tag-pecl","ht_kb_tag-vbulletin","ht_kb_tag-wordpress","ht_kb_tag-xenforo"],"_links":{"self":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb\/122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/comments?post=122"}],"version-history":[{"count":8,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb\/122\/revisions"}],"predecessor-version":[{"id":225,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb\/122\/revisions\/225"}],"wp:attachment":[{"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/media?parent=122"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=122"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.hostduplex.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}