TEC-001--linux+imagick安裝

來源:互聯網
上載者:User

標籤:imagick

 1013  cd /usr/local/src/
 1014  wget http://www.imagemagick.org/download/ImageMagick.tar.gz
 1015  tar zxvf ImageMagick.tar.gz
 1018  cd ImageMagick-7.0.5-5/
 1019  ./configure --prefix=/usr/local/imagemagick
 1020  make && make install
 1021  export PKG_CONFIG_PATH=/usr/local/imagemagick/lib/pkgconfig/      (yum install ImageMagick ImageMagick-devel)


 1024  wget http://pecl.php.net/get/imagick-3.0.1.tgz
 1038  cp /home/wwwroot/git/imagick-3.0.1.tgz ./
 1039  tar zxvf imagick-3.0.1.tgz
 1051  ./configure --prefix=/usr/local/imagemagick
 1052  make
 1053  make install
 1054  php -m|grep imagick
 1055  /usr/local/php/bin/pecl install imagick
...............
Build process completed successfully
 
產生的imagick.so檔案拷貝到/usr/local/php//lib/php/extensions/no-debug-non-zts-20131226下
在php.ini檔案裡添加imagick.so
然後重啟php載入imagick模組即可。
使用/usr/local/php/bin/php -m 命令查看載入的模組

本文出自 “yanzi” 部落格,請務必保留此出處http://daddysgirl.blog.51cto.com/1598612/1921591

TEC-001--linux+imagick安裝

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.