Install Imagick for PHP 7 in Ubuntu

1. Install PHP Imagick

To use Imagick with PHP 7 in your server, you can easily achieve it with the following command:

sudo apt-get install php-imagick

2. Verify if imagick has been loaded as an extension (optional)

You can verify if imagick has been loaded as an extension with the following command:

php -m | grep imagick

This should output imagick in your terminal.

Leave a comment

Your email address will not be published. Required fields are marked *