Skip to content

Instantly share code, notes, and snippets.

@rohithmeethal
Created June 9, 2021 10:38
Show Gist options
  • Save rohithmeethal/97e8c7e73471feef36908e63cac00f6c to your computer and use it in GitHub Desktop.
Save rohithmeethal/97e8c7e73471feef36908e63cac00f6c to your computer and use it in GitHub Desktop.
Latest version php7.4-imagick with 260 format support.
  1. Remove all the imagemagick in the system : sudo apt remove imagemagick php7.4-imagick && sudo apt autoremove
  2. Install latest version of imagemagick using imei https://softcreatr.github.io/imei/ (Took 8 minutes in a 8 core system)
  3. Install pecl and php7.4-dev sudo apt install php7.4-dev php-pear
  4. Install php imagick using pecl sudo pecl install imagick
  5. Enable module sudo phpenmod imagick
  6. Restart the server sudo service php7.4-fpm restartor sudo service apache2 restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment