首頁論壇分類作業系統LinuxCentOS 7.x 編譯安裝 ImageMagick
CentOS 7.x 編譯安裝 ImageMagick
   編 輯        刪 除      # 5c8224a78a44e 發表: Odyssey     新增:2018-09-17 14:47:15     更新:2018-09-17 14:47:15

Convert, Edit, Or Compose Bitmap Images @ ImageMagick
https://imagemagick.org/index.php

Download @ ImageMagick
https://imagemagick.org/script/download.php

Install from Source @ ImageMagick
https://imagemagick.org/script/install-source.php

下載 ImageMagick
cd /usr/local/src
lynx https://imagemagick.org/download/ImageMagick.tar.gz

安裝 ImageMagick
tar zxf ImageMagick.tar.gz
cd ImageMagick-7.0.8-11
./configure --prefix=/usr/local/ImageMagick
make
make check
make install
make clean

執行位置
/usr/local/ImageMagick/bin/magick

指令說明
/usr/local/ImageMagick/bin/magick -help

轉換格式
/usr/local/ImageMagick/bin/convert


PECL :: Package :: imagick
https://pecl.php.net/package/imagick

下載 imagick
cd /usr/local/src
lynx https://pecl.php.net/get/imagick-3.4.3.tgz

安裝 imagick
tar zxf imagick-3.4.3.tgz
cd imagick-3.4.3
/usr/local/php7/bin/phpize
./configure --with-php-config=/usr/local/php7/bin/php-config --with-imagick=/usr/local/ImageMagick
make
make test
make install
make clean

vi /usr/local/php7/etc/php.ini
extension=imagick.so


夢幻奧德修斯 - OdysseusDream
Website:https://www.odysseusdream.com/
Discord:https://discord.gg/ht4mwMG
FB社團:https://www.facebook.com/groups/OdysseusDream/

我要回覆
CentOS 7.x 編譯安裝 ImageMagick
首頁論壇分類作業系統LinuxCentOS 7.x 編譯安裝 ImageMagick