Open In App

How to Install Imagick for PHP in Windows?

Last Updated : 22 May, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

The Imagick is the extension of ImageMagick software. It is used to create, compose, and edit digital images. It uses multiple computational threads to increase performance. Imagick is an extension of the main software that creates, and edits images by PHP languages. It is free open-source software that can be easily installed. It can be installed in any Operating System like Windows, Linux & Mac. It gives a non-linear, noise-reducing smoothing filter. For installing Imagick, the main prerequisite is you need to have PHP installed on your machine. For me, the PHP 8 version is installed.

Features:

  • It helps you to implement GIF flies from a set of images.
  • You can alternatively change the colour context in many formats.
  • Editing images is quite easy here.
  • Installing & Downloading is quite easy.

Install Imagick for PHP on Windows

To install Imagick for PHP in Windows follow the following steps:

Step 1: At first, browse the official website using any web browser, there you will find a release link in the left-side corner. Click on it.

Step 2: Then search for Imagick and click on the link.

Search-for-Imagick

Step 3: Then search for your appropriate version. For my machine, I will be going for the 3.5.1 version. Depending on your machine, if it is a new model, then you can go for the latest version. All the procedures will same.

 Search-for-your-appropriate-version

Step 4: Then I will search for the appropriate .zip file and download it.

Search-for-the-appropriate-.zip-file

Step 5: Extract the .zip file.

Extract-the-.zip-file

Step 6: Then open the folder, there you will find the following file. Copy that file. Then you have to paste it into your PHP 8 folder. In PHP 8 folder there will be an ext folder. You have to paste it there.

php_imagick.dll

Open-the-folder-there-you-will-find-the-following-file

Step 7: Then rename the extracted folder to the below-mentioned name. And paste it into your C drive.

php_imagick-3-5-1

Rename-the-extracted-folder-and-paste-it-into-your-C-drive

Step 8: Then add the path in your Environment Path Variable.

Add-the-path-in-your-Environment-Path-Variable

Step 9: Now, you have successfully installed the Imagick. Then open your Command prompt or Power shell. Write the following command to execute. This will give the following output.

php -i

Open-your-Command-prompt


Next Article

Similar Reads