Installing ImageMagick for PHP and MAMP

  1. Install Brew (https://github.com/mxcl/homebrew/wiki/installation)
  2. In Terminal, run: brew install imagemagick
  3. In Terminal, run: brew tap josegonzalez/homebrew-php
  4. In Terminal, run: brew install imagick-php
  5. Copy the compiled extension path (extension= …)
  6. Edit this file: /Applications/MAMP/Library/bin/envvars
  7. Comment out the only lines that aren’t already commented out.
  8. Add the extension= path to your php.ini files.
MAMP Users:
/Applications/MAMP/bin/php/php5.3.6/conf
   
MAMP Pro Users: 
/Applications/MAMP/bin/php/php5.3.6/conf
/Library/Application Support/appsolute/MAMP PRO/conf/php.ini
And MAMP PRO > File > Edit Template > PHP > SELECT YOUR VERSION
    
Everyone Else:
In Terminal, run: php -i | grep php.ini$ to find the location of your .ini file.
Restart Apache via MAMP.