Php 如何在MAMP上安装imagick?
运行sudo pecl install imagick时,收到以下错误:Php 如何在MAMP上安装imagick?,php,macos,mamp,imagick,pecl,Php,Macos,Mamp,Imagick,Pecl,运行sudo pecl install imagick时,收到以下错误: checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/bin/MagickWand-config... Doesn't exist checking Testing /usr/bin/MagickWand-config... Doesn't exist checking Testing /usr/sb
checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/bin/MagickWand-config... Doesn't exist
checking Testing /usr/bin/MagickWand-config... Doesn't exist
checking Testing /usr/sbin/bin/MagickWand-config... Doesn't exist
checking Testing /opt/bin/MagickWand-config... Doesn't exist
checking Testing /opt/local/bin/MagickWand-config... Doesn't exist
configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
ERROR: `/private/tmp/pear/install/imagick/configure --with-php-config=/usr/bin/php-config --with-imagick' failed
不确定这个错误意味着什么。有什么想法吗?您需要libmagickwand dev使用pecl安装扩展。您需要libmagickwand dev使用pecl安装扩展。您需要先安装imagemagick: 使用自制软件:
brew install imagemagick
或使用macports:
sudo port install imagemagick
然后,您可以将php软件包安装为:
sudo pecl install imagick
您需要首先安装imagemagick: 使用自制软件:
brew install imagemagick
或使用macports:
sudo port install imagemagick
然后,您可以将php软件包安装为:
sudo pecl install imagick