How to install Image Magick for MAMP (Pro) on Mountain Lion (10.8.2)

前端 未结 4 1426
旧时难觅i
旧时难觅i 2021-02-01 06:51

I\'ve been searching for a way to install Image Magick on my Mountain Lion setup (where I use MAMP Pro). I did find this article, but it isn\'t specific to ML. Also found a coup

4条回答
  •  北恋
    北恋 (楼主)
    2021-02-01 07:36

    Make sure you check out Joel Farris' answer if you're using an up-to-date version of MAMP


    I finally managed to get it installed properly using Homebrew and the instructions here: http://egoco.de/post/23167969231/installing-imagemagick-for-php-and-mamp

    I did have to run brew doctor and brew link a couple of times to fix dependencies (and change permissions on a file or two), and use

    brew install php54-imagick
    

    rather than the one mentioned at the url.

    The extension he mentions at the end (the bit you have to paste in your different ini files) is:

    [imagick]
    extension="/usr/local/Cellar/php54-imagick/3.1.0RC2/imagick.so"
    

    Hope it helps!

提交回复
热议问题