ImageMagick

ImageMagick

필수페키지..

yum install tcl-devel libpng-devel libjpeg-devel ghostscript-devel bzip2-devel freetype-devel libtiff-devel

wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.8.5-6.tar.gz << 여기는 소스이긴하나..

그냥 아래 페키지들 yum으로 설치!

ImageMagick-devel-6.2.8.0-15.el5_8
ImageMagick-6.2.8.0-15.el5_8
ImageMagick-6.2.8.0-15.el5_8
ImageMagick-c++-6.2.8.0-15.el5_8
ImageMagick-devel-6.2.8.0-15.el5_8
ImageMagick-c++-devel-6.2.8.0-15.el5_8

 

 

2013-09-13 추가네용

 

http://pecl.php.net/package/imagick   // 최신페키지 다운로드

> 압축풀고 디렉토리이동후

/usr/local/php/bin/phpize

./configure –with-php-config=/usr/local/php/bin/php-config

make && make install

> 경로확인

Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-zts-20050922/
Installing header files: /usr/local/php/include/php/

> php.ini 설정

extension_dir = “/usr/local/php/lib/php/extensions/no-debug-zts-20050922/”

extension=”imagick.so”
enable_dl = On

수고용

 

Leave your Comment

Your email address will not be published. Required fields are marked *