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.


Thanks for reading. Make sure you follow me on Twitter to stay up to date on the progress of my side projects T.LYWeather Extension, and Link Shortener Extension. If you are interested in the tech I use daily, check out my uses page.  

Leave a Reply

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