mac imagickインストール

pecl install imagick

error: not found. Please provide a path to MagickWand-config or Wand-config program.

 

 

imagemagickがないようだ。

brew update

(XCodeもアップデート)

brew install imagemagick

 

再度pecl install imagick

29 warnings and 4 errors generated.

make: *** [imagick_class.lo] Error 1

ERROR: `make' failed

失敗。

 imagick-betaでやるといいらしい。

pecl install imagick-beta

 

成功

 

phoinfo確認

imagickない。

php.iniにextension=imagick.so追加

 apache再起動

phpinfo確認imagickあり。