Resolved “The optional mod imagick is not installed or has been disabled ” in the WordPress 5.x Site Health check.

Enter the following command to install imagick:
pecl install imagick
At this point, it will prompt Please provide the prefix of ImageMagick installation [autodetect]
enter:
<div /usr
If php is compiled and installed from its own source code, please enter the php installation directory, such as: /usr/local
If configure: error: not found. Please provide a path …
The post How to fix WordPress “The optional mod imagick is not installed or has been disabled” first appeared on Lenix Blog .
This article is reprinted from https://blog.p2hp.com/archives/8724
This site is for inclusion only, and the copyright belongs to the original author.