how to install imagemagick in ubuntu / php

The optional module, imagick, is not installed, or has been disabled.

$ sudo apt update
$ sudo apt install php php-common gcc
$ sudo apt install imagemagick
$ sudo apt install php7.4-imagick //install for specific php version
$ sudo apt install php-imagick //always install for latest php version
$ sudo systemctl restart apache2



Leave a Reply