Installing ImageMagick with Apt sudo apt install imagemagick Installing Imagick PHP Extension sudo apt install php-imagick Restart Web Server sudo systemctl restart apache2 or sudo systemctl restart nginx