This is a common error for people on VPS or certain hosting providers, for example infinityfree.
If you have your own VPS with root access, it’s an easy fix:
First, check your php version
php -v
Next, install the relevant imagick package, but first do:
sudo apt update
then, enter the relevant installer package for your php version, for example – if your php version came up as 7.4.30, then enter:
sudo apt install php7.4-imagick
Finally, restart the apache 2 service by entering either of the two commands below:
systemctl restart apache2
OR
service apache2 reload
Leave a Reply