Chinaunix首页 | 论坛 | 博客
  • 博客访问: 19959
  • 博文数量: 4
  • 博客积分: 1425
  • 博客等级: 上尉
  • 技术积分: 40
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-20 21:44
文章分类

全部博文(4)

文章存档

2009年(4)

我的朋友
最近访客

分类: 系统运维

2009-12-25 15:06:05

No problem if you want to install imagemagick on your pc, ubuntu makes this very easy for you with only a few simple commands..

  • Make sure u have pear install ( ’sudo apt-get install php-pear’ )
  • Then run: sudo apt-get install imagemagick
  • And then: sudo pecl install imagick
    **if you get an error which looks like this: configure: error: Cannot locate configuration program Wand-config

    then no problem, simply run the following command: sudo apt-get install libmagick9-dev
    Now re-run sudo pecl install imagick

All sorted ? Good, now simply add extension=imagick.so to your php.ini and your done :)

Incidently, if you want to get serious about PHP and Imagemagick, i highly recommend you check out mikko’s imagemagick blog which details lots of examples of using imagemagick and pushing it to the limit. cool stuff.

(This article is copied from Theatons Blog!)

阅读(789) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~