码迷,mamicode.com
首页 > 其他好文 > 详细

pecl install imagick

时间:2016-09-09 00:40:19      阅读:741      评论:0      收藏:0      [点我收藏+]

标签:

steven@server:/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

标签:

原文地址:http://www.cnblogs.com/runfeng/p/5855033.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!