pecl install imagick
Posted face wa
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了pecl install imagick相关的知识,希望对你有一定的参考价值。
[email protected]:/var/www$ sudo pecl install imagick
downloading imagick-2.3.0.tgz ...
Starting to download imagick-2.3.0.tgz (86,976 bytes)
.....................done: 86,976 bytes
12 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
Please provide the prefix of Imagemagick installation [autodetect] :
building in /var/tmp/pear-build-root/imagick-2.3.0
running: /tmp/pear/temp/imagick/configure --with-imagick
*** ... snip ... ***
checking ImageMagick MagickWand API configuration program... configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
ERROR: `/tmp/pear/temp/imagick/configure --with-imagick‘ failed
need below command.
sudo apt-get install libmagickwand-dev libmagickcore-dev
/etc/init.d/apache2 restart
以上是关于pecl install imagick的主要内容,如果未能解决你的问题,请参考以下文章
liunx执行pecl install swoole报错“failed to run `phpize‘”