{"id":1274,"date":"2021-10-25T16:10:57","date_gmt":"2021-10-25T16:10:57","guid":{"rendered":"https:\/\/techpog.com\/?p=1274"},"modified":"2021-10-25T18:26:50","modified_gmt":"2021-10-25T18:26:50","slug":"how-to-install-imagemagick-on-php-8-guide","status":"publish","type":"post","link":"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/","title":{"rendered":"How to Install Imagick on PHP 8 Guide – Image Magick"},"content":{"rendered":"

If you are running PHP 8 on a Ubuntu\u00a0 server and get a WordPress Health Check error that ImageMagick is not installed, then you can try these commands to fix your issue.<\/p>\n

Just run from the command line<\/p>\n

pecl8.0-sp install imagick<\/strong><\/p>\n

sudo bash -c “echo extension=imagick.so > \/etc\/php8.0-sp\/conf.d\/imagick.ini”<\/strong><\/p>\n

Then you’ll need to restart php-fpm for PHP 8 for the change to take effect:<\/p>\n

sudo service php8.0-fpm-sp restart<\/strong><\/p>\n

After that’s done, you can confirm that it’s installed by running the following command:<\/p>\n

php8.0-sp -i | grep imagick<\/strong><\/p>\n

and then add<\/p>\n

extension=imagick.so<\/strong><\/p>\n

to a .user.ini or php.ini file, depending on your server,\u00a0 in the home directory of your WordPress install<\/p>\n

Please make sure you are running PHP 8 on your app in Serverpilot.io<\/a> or C-panel, if PHP is set to 7.4 it will still give you the same error.<\/p>\n

 <\/p>\n

For Best Hosting Try<\/strong><\/h2>\n
\n

For best hosting Try DigitalOcean<\/a> and Serverpilot.io<\/a><\/p>\n

You get Cloud hosting from Digitalocean <\/a>at a good price and ServerPilot.io<\/a> lets you setup the server add domains and free SSl. They also have a one click WordPress install.<\/p>\n

Get Free $100 dollars for Digital Ocean Click Here<\/a><\/p>\n

Get Free $10 dollars for ServerPilot Click Here<\/a><\/p>\n

ImageMagick<\/a> is free software delivered as a ready-to-run binary distribution or as source code that you may use, copy, modify, and distribute in both open and proprietary applications. It is distributed under a derived Apache 2.0\u00a0license.<\/p>\n

 <\/p>\n

WordPress Error When Image Magick is not installed<\/h2>\n
\n

Under Tools -> SiteHealth<\/strong><\/p>\n

PHP modules perform most of the tasks on the server that make your site run. Any changes to these must be made by your server administrator.<\/p>\n

The WordPress Hosting Team maintains a list of those modules, both recommended and required, in\u00a0the team handbook\u00a0(opens in a new tab)<\/span>.<\/p>\n

    \n
  • Warning<\/span><\/span>\u00a0The optional module, imagick, is not installed, or has been disabled.<\/li>\n<\/ul>\n

     <\/p>\n

     <\/p>\n","protected":false},"excerpt":{"rendered":"

    If you are running PHP 8 on a Ubuntu\u00a0 server and get a WordPress Health Check error that ImageMagick is not installed, then you can try these commands to fix your issue. Just run from the command line pecl8.0-sp install imagick sudo bash -c “echo extension=imagick.so > \/etc\/php8.0-sp\/conf.d\/imagick.ini” Then you’ll need to restart php-fpm for […]<\/p>\n","protected":false},"author":2,"featured_media":1279,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58,54],"tags":[],"yoast_head":"\nHow to Install Imagick on PHP 8 Guide - Image Magick<\/title>\n<meta name=\"description\" content=\"How to fix the WordPress error - The optional module, Imagick, is not installed, or has been disabled - for PHP 8 and install Imagick Module\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Imagick on PHP 8 Guide - Image Magick\" \/>\n<meta property=\"og:description\" content=\"How to fix the WordPress error - The optional module, Imagick, is not installed, or has been disabled - for PHP 8 and install Imagick Module\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Tech Productivity Optimization Guides\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-25T16:10:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-25T18:26:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techpog.com\/wp-content\/uploads\/2021\/10\/imagickjpg.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1510\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TechPog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechPog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/\"},\"author\":{\"name\":\"TechPog\",\"@id\":\"https:\/\/techpog.com\/#\/schema\/person\/d95d6b775fbb6c9d2420512ced6c7fa2\"},\"headline\":\"How to Install Imagick on PHP 8 Guide – Image Magick\",\"datePublished\":\"2021-10-25T16:10:57+00:00\",\"dateModified\":\"2021-10-25T18:26:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/\"},\"wordCount\":333,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/techpog.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/techpog.com\/wp-content\/uploads\/2021\/10\/imagickjpg.jpg\",\"articleSection\":[\"PHP\",\"wordpress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/\",\"url\":\"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/\",\"name\":\"How to Install Imagick on PHP 8 Guide - Image Magick\",\"isPartOf\":{\"@id\":\"https:\/\/techpog.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/techpog.com\/wp-content\/uploads\/2021\/10\/imagickjpg.jpg\",\"datePublished\":\"2021-10-25T16:10:57+00:00\",\"dateModified\":\"2021-10-25T18:26:50+00:00\",\"description\":\"How to fix the WordPress error - The optional module, Imagick, is not installed, or has been disabled - for PHP 8 and install Imagick Module\",\"breadcrumb\":{\"@id\":\"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/#primaryimage\",\"url\":\"https:\/\/techpog.com\/wp-content\/uploads\/2021\/10\/imagickjpg.jpg\",\"contentUrl\":\"https:\/\/techpog.com\/wp-content\/uploads\/2021\/10\/imagickjpg.jpg\",\"width\":2560,\"height\":1510,\"caption\":\"Install Image Magick on PHP 8 for WordPress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/techpog.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Imagick on PHP 8 Guide – Image Magick\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/techpog.com\/#website\",\"url\":\"https:\/\/techpog.com\/\",\"name\":\"TechPOG - Tech Productivity Optimization Guides\",\"description\":\"Technology News, Product Reviews, Step by Step Guides\",\"publisher\":{\"@id\":\"https:\/\/techpog.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/techpog.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/techpog.com\/#organization\",\"name\":\"techpog.com\",\"url\":\"https:\/\/techpog.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techpog.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/techpog.com\/wp-content\/uploads\/2019\/01\/techpog-logosmsm.png\",\"contentUrl\":\"https:\/\/techpog.com\/wp-content\/uploads\/2019\/01\/techpog-logosmsm.png\",\"width\":156,\"height\":40,\"caption\":\"techpog.com\"},\"image\":{\"@id\":\"https:\/\/techpog.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/techpog.com\/#\/schema\/person\/d95d6b775fbb6c9d2420512ced6c7fa2\",\"name\":\"TechPog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techpog.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d1b70fe2934cd438c548da2c10fdcea0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d1b70fe2934cd438c548da2c10fdcea0?s=96&d=mm&r=g\",\"caption\":\"TechPog\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Imagick on PHP 8 Guide - Image Magick","description":"How to fix the WordPress error - The optional module, Imagick, is not installed, or has been disabled - for PHP 8 and install Imagick Module","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Imagick on PHP 8 Guide - Image Magick","og_description":"How to fix the WordPress error - The optional module, Imagick, is not installed, or has been disabled - for PHP 8 and install Imagick Module","og_url":"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/","og_site_name":"Tech Productivity Optimization Guides","article_published_time":"2021-10-25T16:10:57+00:00","article_modified_time":"2021-10-25T18:26:50+00:00","og_image":[{"width":2560,"height":1510,"url":"https:\/\/techpog.com\/wp-content\/uploads\/2021\/10\/imagickjpg.jpg","type":"image\/jpeg"}],"author":"TechPog","twitter_card":"summary_large_image","twitter_misc":{"Written by":"TechPog","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/#article","isPartOf":{"@id":"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/"},"author":{"name":"TechPog","@id":"https:\/\/techpog.com\/#\/schema\/person\/d95d6b775fbb6c9d2420512ced6c7fa2"},"headline":"How to Install Imagick on PHP 8 Guide – Image Magick","datePublished":"2021-10-25T16:10:57+00:00","dateModified":"2021-10-25T18:26:50+00:00","mainEntityOfPage":{"@id":"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/"},"wordCount":333,"commentCount":0,"publisher":{"@id":"https:\/\/techpog.com\/#organization"},"image":{"@id":"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/techpog.com\/wp-content\/uploads\/2021\/10\/imagickjpg.jpg","articleSection":["PHP","wordpress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/","url":"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/","name":"How to Install Imagick on PHP 8 Guide - Image Magick","isPartOf":{"@id":"https:\/\/techpog.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/#primaryimage"},"image":{"@id":"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/techpog.com\/wp-content\/uploads\/2021\/10\/imagickjpg.jpg","datePublished":"2021-10-25T16:10:57+00:00","dateModified":"2021-10-25T18:26:50+00:00","description":"How to fix the WordPress error - The optional module, Imagick, is not installed, or has been disabled - for PHP 8 and install Imagick Module","breadcrumb":{"@id":"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/#primaryimage","url":"https:\/\/techpog.com\/wp-content\/uploads\/2021\/10\/imagickjpg.jpg","contentUrl":"https:\/\/techpog.com\/wp-content\/uploads\/2021\/10\/imagickjpg.jpg","width":2560,"height":1510,"caption":"Install Image Magick on PHP 8 for WordPress"},{"@type":"BreadcrumbList","@id":"https:\/\/techpog.com\/wordpress\/how-to-install-imagemagick-on-php-8-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techpog.com\/"},{"@type":"ListItem","position":2,"name":"How to Install Imagick on PHP 8 Guide – Image Magick"}]},{"@type":"WebSite","@id":"https:\/\/techpog.com\/#website","url":"https:\/\/techpog.com\/","name":"TechPOG - Tech Productivity Optimization Guides","description":"Technology News, Product Reviews, Step by Step Guides","publisher":{"@id":"https:\/\/techpog.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techpog.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techpog.com\/#organization","name":"techpog.com","url":"https:\/\/techpog.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techpog.com\/#\/schema\/logo\/image\/","url":"https:\/\/techpog.com\/wp-content\/uploads\/2019\/01\/techpog-logosmsm.png","contentUrl":"https:\/\/techpog.com\/wp-content\/uploads\/2019\/01\/techpog-logosmsm.png","width":156,"height":40,"caption":"techpog.com"},"image":{"@id":"https:\/\/techpog.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/techpog.com\/#\/schema\/person\/d95d6b775fbb6c9d2420512ced6c7fa2","name":"TechPog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techpog.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d1b70fe2934cd438c548da2c10fdcea0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d1b70fe2934cd438c548da2c10fdcea0?s=96&d=mm&r=g","caption":"TechPog"}}]}},"_links":{"self":[{"href":"https:\/\/techpog.com\/wp-json\/wp\/v2\/posts\/1274"}],"collection":[{"href":"https:\/\/techpog.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techpog.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techpog.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/techpog.com\/wp-json\/wp\/v2\/comments?post=1274"}],"version-history":[{"count":7,"href":"https:\/\/techpog.com\/wp-json\/wp\/v2\/posts\/1274\/revisions"}],"predecessor-version":[{"id":1288,"href":"https:\/\/techpog.com\/wp-json\/wp\/v2\/posts\/1274\/revisions\/1288"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techpog.com\/wp-json\/wp\/v2\/media\/1279"}],"wp:attachment":[{"href":"https:\/\/techpog.com\/wp-json\/wp\/v2\/media?parent=1274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techpog.com\/wp-json\/wp\/v2\/categories?post=1274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techpog.com\/wp-json\/wp\/v2\/tags?post=1274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}