ImageMagick のインストール
- MagickWandForPHP-1.0.9 の場合は ImageMagick-6.8.5 でOK (7.0.9だとコンパイルエラーを起こす)
# wget www.imagemagick.org/download/releases/ImageMagick-6.8.5-10.tar.xz # xzcat ImageMagick-6.8.5-10.tar.xz |tar xfv - # cd ImageMagick-6.8.5-10 # ./configure # make # make install
MagickWand のインストール
# wget www.magickwand.org/download/php/MagickWandForPHP-1.0.9-2.tar.bz2 # bzcat MagickWandForPHP-1.0.9-2.tar.bz2 |tar xfv - # mv MagickWandForPHP-1.0.9 (PHPのソースディレクトリ)/ext/magickwand # cd (PHPのソースディレクトリ)/ext/magickwand # phpize # cd ../.. # mv configure configure- # ./buildconf --force # ./configure --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-pdo-mysql=/usr/local/mysql --with-apxs2=/usr/sbin/apxs --with-openssl --with-zlib=/usr --enable-mbstring --with-iconv --enable-intl --enable-zip --enable-soap --enable-pcntl --enable-sockets --with-curl --with-xmlrpc --with-gd --with-jpeg-dir --with-png-dir --enable-opcache --enable-soap --with-gd --with-freetype-dir=/usr --with-magickwand=/usr/local # make # make install
Counter: 726,
today: 1,
yesterday: 1
最終更新: 2016-09-18 (日) 15:19:10 (JST) (2771d) by iseki