It means that your Laravel app (or a package like Intervention Image, Spatie Media Library, or Laravel Snappy) is trying to use the Imagick image processing library, but it’s not installed or enabled on your server.
If you’re using Ubuntu/Debian (Linux server):
sudo apt-get update sudo apt-get install -y php-imagick sudo service apache2 restart # Or `php-fpm` if using Nginx
For PHP 8.1+, make sure you’re installing the correct version (e.g., php8.1-imagick).
If you’re on Windows (XAMPP/WAMP):
-
Open your
php.inifile (e.g.,C:\xampp\php\php.ini). -
Uncomment (or add) this line:
ini file
extension=imagick
-
Make sure
php_imagick.dllexists in theextfolder (C:\xampp\php\ext). -
If not, download the correct
imagickDLL from:
https://windows.php.net/downloads/pecl/releases/imagick/ -
Restart Apache.
If you’re using cPanel or a shared hosting:
-
Go to cPanel → Select PHP Version or PHP Extensions
-
Look for and enable
imagick. -
If it’s not listed, contact your hosting provider.
Confirm It’s Installed
php -m | grep imagick
If it returns imagick, it’s working.
Or create a phpinfo() page:
<?php phpinfo(); ?>
You may need to clear Laravel caches:
php artisan config:clear
php artisan cache:clear
php artisan optimize:clear
