Error : You need to install the imagick extension to use this back end

  • 01-06-2022
  • 9082
  • Laravel 9
  • Haresh Chauhan

Watch Youtube Video (HINDI) :

You need to install the Imagick extension to use this back end, This error occurs especially when you try to generate an image or QR code in your project time this error appearing.

Default xampp does not give a setting, So we just need to install this extension in xampp manually.

So follow just a simple step and fixed your error.

Step 1: Download

Download image php_imagick from the below given link.

Download according to your PHP version. else it will not work. So select your PHP version and download it according to your system PHP version and bit's supports.

After download the zip file extract that zips file. You will see there are many files available with the extension of .dll and some other files also.

Here we must need to copy two file name start from:



Copy all that file name start from CORE_RL and IM_MOD and past into C:\xampp\apache\bin

Step 2: Add Extention

Copy php_imagick.dll from below given image path. You will get the file after extracting the zip file and at the end of the folder.


add php_imagick.dll file in your xampp given path C:\xampp\php\ext


Step 3: Enable Extention

Goto C:\xampp\php\php.ini add below given extension in php.ini file.


// TO




Restart Xampp or Server. Restart your xampp apache or server.

Step 4: Download .exe file for Windows

This is .exe file for supporting the extension just needs to download from the below-given link. Select your PHP version and download it from below given link.

After download install this .exe file in your system. It's a simple process to install just do next and install it.

Download ImageMagick-7.1.0-36-Q16-x64-dll.exe


This is the last step to resolving your error. Please refresh your page where you getting this error. it will resolve and the image will be created successfully.

So this is the simple process to solve You need to install the Imagick extension to use this back end error in your PHP project or laravel project.

Especially this error when you getting at Qr Generate time.

We always thanks to you for reading our blogs.


Dharmesh Chauhan

(Swapinfoway Founder)

Hello Sir, We are brothers origin from Gujarat India, Fullstack developers working together since 2016. We have lots of skills in web development in different technologies here I mention PHP, Laravel, Javascript, Vuejs, Ajax, API, Payment Gateway Integration, Database, HTML5, CSS3, and Server Administration. So you need our service Please Contact Us


Haresh Chauhan


We Are Also Recommending You :