WordPress also uses the Imagick library. This is definitely an optional module. We want to try and match our Host Server so let’s go ahead and install it. If you aren’t doing much image processing, I wouldn’t get too excited about not installing it. Go to the ImageMagick page and download the recommended version (we have a 64bit Server). In this example it is ImageMagick-7.0.11-10-Q16-HDRI-x64-dll.exe. Install the program using the defaults it recommends. Now you need to get PHP talking to ImageMagick. Download the latest version from PECL. Not that it is the DLL option you want to click on not the tgz option. Scroll down and you will see the PHP version you need. In this example we have PHP 7.3 and Apache, so we will download the threadsafe x64 version called php_imagick-3.4.4-7.3-ts-vc15-x64.zip. Extract the archive and copy the file php_imagick.dll to C:\PHP\ext. You can delete the uncompressed folder we only needed this DLL. Edit your php.ini file adding this line to the extensions section:
Another download is required located at https://windows.php.net/downloads/pecl/deps/. Pick the file that matches the VC version of the PHP version you installed. In this example it is ImageMagick-7.0.7-11-vc15-x64.zip because we installed PHP php-7.3.28-Win32-VC15-x64.zip. Extract the file and then navigate to the bin folder (ImageMagick-7.0.7-11-vc15-x64\bin). Copy all the dll files except for ImageMagickObject.dll into the C:\Apache24\bin folder. Restart the Apache server using Apache Service Monitor.