{"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. 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 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>\nFor Best Hosting Try<\/strong><\/h2>\n
\n