Skip to content

Instantly share code, notes, and snippets.

@mikebronner
Last active May 28, 2019 19:46
Show Gist options
  • Save mikebronner/d0f781097eea0a121921e2ce947a2a51 to your computer and use it in GitHub Desktop.
Save mikebronner/d0f781097eea0a121921e2ce947a2a51 to your computer and use it in GitHub Desktop.
Install Imagick in PHP 7.x
#!/bin/bash
apt update -y
apt install php-imagick -y
echo extension=imagick.so >> /etc/php/7.2/cli/php.ini
echo extension=imagick.so >> /etc/php/7.2/fpm/php.ini
service php7.2-fpm reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment