{"id":238,"date":"2009-10-21T16:59:28","date_gmt":"2009-10-21T20:59:28","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=238"},"modified":"2013-03-20T08:41:11","modified_gmt":"2013-03-20T12:41:11","slug":"howto-install-imagemagick-on-plesk","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/howto-install-imagemagick-on-plesk","title":{"rendered":"Howto: Install ImageMagick on Plesk"},"content":{"rendered":"<p><strong>How to install ImageMagick on Linux\/Plesk server?<\/strong> Follow the below steps to install ImageMagick on a Plesk server. Login to your server as root and execute the following commands:<\/p>\n<p><strong>1. Install &#8220;ImageMagick&#8221; package via YUM.<\/strong><\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>yum install ImageMagick<\/strong><\/span><\/p><\/blockquote>\n<p><strong>2. Now install &#8220;ImageMagick-devel&#8221;<\/strong><\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>yum install ImageMagick-devel<\/strong><\/span><\/p><\/blockquote>\n<p><strong>3. Install &#8220;php-pear&#8221; required for &#8220;pecl&#8221;. It will install and compile ImageMagick with PHP for you.<\/strong><\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>yum install php-pear<\/strong><\/span><\/p><\/blockquote>\n<p><span style=\"color: #000000;\"><strong>4. Now, you need to install ImageMagick using pecl<\/strong><\/span><\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>pecl install imagick<\/strong><\/span><\/p><\/blockquote>\n<p><strong>A imagick.so file will be created<\/strong> under \/usr\/lib\/php\/modules\/ directory. Now, edit the php configuration file \/etc\/php.ini and <strong>add the following line after the &#8220;extension_dir&#8221; directive<\/strong><\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>extension = &#8220;imagick.so&#8221;<\/strong><\/span><\/p><\/blockquote>\n<p>Save the file and <strong>restart the httpd service<\/strong>. That is it. <strong>You can verify using the command:<\/strong><\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong>php -i | grep imagick<\/strong><\/span><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>How to install ImageMagick on Linux\/Plesk server? Follow the below steps to install ImageMagick on a Plesk server. Login to your server as root and execute the following commands:<br \/>\n1. Install &#8220;ImageMagick&#8221; package via YUM.<br \/>\nyum install ImageMagick<br \/>\n2. Now install &#8220;ImageMagick-devel&#8221;<br \/>\nyum install ImageMagick-devel<br \/>\n3. Install &#8220;php-pear&#8221; required for &#8220;pecl&#8221;. It will install and compile ImageMagick with PHP for you.<br \/>\nyum install php-pear<br \/>\n4. Now, you need to install ImageMagick using pecl<br \/>\npecl install imagick<br \/>\nA imagick.so file will be created under \/usr\/lib\/php\/modules\/ directory. Now, edit the php configuration file \/etc\/php.ini and add the following line [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[277,274,272,278,275,279,276,273],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/238"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=238"}],"version-history":[{"count":3,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/238\/revisions"}],"predecessor-version":[{"id":240,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/238\/revisions\/240"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}