How to Install ImageMagick PHP

1 min read
How to Install ImageMagick PHP

Run these commands to install ImageMagick extension for PHP on MacOs:

  1. brew install imagemagick
  2. pecl install imagick
  3. Restart PHP brew services restart php

You may need to check if imagick is loaded in your php.ini file. Run php -m | grep -i imagick to see if the module is activated.