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

前端 未结 4 1428
旧时难觅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:35

    MAMP comes with Imagick installed. I have MAMP v3.2.1 (not MAMP Pro) running on OS X 10.10.3 (Yosemite).

    I enabled imagick by editing php.ini file which comes with MAMP.

    php.ini file is available on the following path:

    /Applications/MAMP/bin/php/php5.6.7/conf/php.ini
    

    Replace 5.6.7 with your php version number.

    php.ini file will contain the following line:

    ;extension=imagick.so
    

    Change that line to:

    extension=imagick.so
    

    Now restart the MAMP servers and you are good to go.

提交回复
热议问题