imagickをwin環境でセットアップする

  1. ImageMagickこちらからインストール


インストール画面。次へを

良くある規約画面。okして次へ

インストールを選択

インストール先の選択
言うまでもないけどデフォのインストール先のパスは空白が含まれるので何かの問題の種
任意で変更してかまわない

スタートメニューの追加設定

ここでカーソルのある項目をアクティベートすること

で、いよいよ開始
インストールされるのだが...

こんなエラーが出る
親切にもdllをぶち込もうとして失敗してるみたい
無視してかまわない



これでおk

  1. Microsoft Visual C++ 2005 SP1が欲しいので、なければ配布所からインストール
  2. php_imagickのダウンロード

こちらから落とす

ここね

んでここの項目

  1. php.iniの改変

落としたdllのパスを追加する

ここにこんな感じで

  1. PCを再起する&Apache再起
  2. phpinfo()を見てみると。。。


おk!

のはずなんだが
実際に実行してみると以下のエラーログが

[Fri Aug 10 19:39:50 2012] [notice] Parent: child process exited with status 255 -- Restarting.
[Fri Aug 10 19:39:50 2012] [notice] Digest: generating secret for digest authentication ...
[Fri Aug 10 19:39:50 2012] [notice] Digest: done
[Fri Aug 10 19:39:51 2012] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Fri Aug 10 19:39:51 2012] [notice] Server built: Sep 10 2011 11:34:11
[Fri Aug 10 19:39:51 2012] [notice] Parent: Created child process 5184
[Fri Aug 10 19:39:52 2012] [notice] Digest: generating secret for digest authentication ...
[Fri Aug 10 19:39:52 2012] [notice] Digest: done
[Fri Aug 10 19:39:53 2012] [notice] Child 5184: Child process is running
[Fri Aug 10 19:39:53 2012] [notice] Child 5184: Acquired the start mutex.
[Fri Aug 10 19:39:53 2012] [notice] Child 5184: Starting 150 worker threads.
[Fri Aug 10 19:39:53 2012] [notice] Child 5184: Starting thread to listen on port 443.
[Fri Aug 10 19:39:53 2012] [notice] Child 5184: Starting thread to listen on port 80.
[Fri Aug 10 19:39:53 2012] [notice] Child 5184: Starting thread to listen on port 443.
[Fri Aug 10 19:39:53 2012] [notice] Child 5184: Starting thread to listen on port 80.
[Fri Aug 10 19:39:53 2012] [notice] Parent: child process exited with status 255 -- Restarting.
[Fri Aug 10 19:39:53 2012] [notice] Digest: generating secret for digest authentication ...
[Fri Aug 10 19:39:53 2012] [notice] Digest: done
[Fri Aug 10 19:39:54 2012] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Fri Aug 10 19:39:54 2012] [notice] Server built: Sep 10 2011 11:34:11
[Fri Aug 10 19:39:54 2012] [notice] Parent: Created child process 4908
[Fri Aug 10 19:39:55 2012] [notice] Digest: generating secret for digest authentication ...
[Fri Aug 10 19:39:55 2012] [notice] Digest: done
[Fri Aug 10 19:39:56 2012] [notice] Child 4908: Child process is running
[Fri Aug 10 19:39:56 2012] [notice] Child 4908: Acquired the start mutex.
[Fri Aug 10 19:39:56 2012] [notice] Child 4908: Starting 150 worker threads.
[Fri Aug 10 19:39:56 2012] [notice] Child 4908: Starting thread to listen on port 443.
[Fri Aug 10 19:39:56 2012] [notice] Child 4908: Starting thread to listen on port 443.
[Fri Aug 10 19:39:56 2012] [notice] Child 4908: Starting thread to listen on port 80.
[Fri Aug 10 19:39:56 2012] [notice] Child 4908: Starting thread to listen on port 80.

うむむ