#author("2025-04-15T01:05:56+00:00","default:iseki","iseki")
#author("2025-04-15T01:06:05+00:00","default:iseki","iseki")
** MagickWand [#u52b8ffd]
- ImageMagick のオプション機能
- Sloodle の PDFアップロードで必要
*** Install [#s79783cf]
**** PHP のソースを展開 [#n718ec84]
  

**** ImageMagick のインストール [#z9bcdf02]
- 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 のインストール [#tb2c2d90]

 # 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

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 ページ一覧 検索 最終更新   ヘルプ   最終更新のRSS