For anyone attempting to install the binaries on windows xp, don't waste your time. You'll need to install this on windows 2003 Server (and up) or Windows Vista since there are dependences (msvcr80.dll) that will require it.
インストール/設定
目次
要件
Windows でのインストール要件
バージョンに関する条件は上と同じです。ImageMagick のバイナリは http://imagemagick.org/ で取得できるので、Windows でこの拡張モジュールを使用するにはコンパイラは不要です。
その他のプラットフォームでのインストール要件
PHP >= 5.1.3 および ImageMagick >= 6.2.4 が必要です。 Imagick 拡張モジュールが処理できるフォーマットの数は、 インストールされている ImageMagick でサポートしているフォーマットに依存します。 たとえば、Imagemagick で PDF を操作するには ghostscript が必要となります。
インストール/設定
marcel dot ouellette at gmail dot com
02-Sep-2008 11:38
02-Sep-2008 11:38
colnector is from domain colnect.com
13-Jul-2008 06:10
13-Jul-2008 06:10
Windows installation is a bit more tricky since "pecl install imagick" does NOT work properly.
Here's how I installed it:
1/ Install ImageMagick software http://www.imagemagick.org/script/binary-releases.php#windows
2/ Download pecl-5.2-dev.zip (choose the version relevant to your PHP) from http://snaps.php.net/
3/ Copy php_imagick.dll from the archive you've downloaded to your PHP extention folder.
4/ Add the following line to php.ini (in the exntentions section):
extension=php_imagick.dll
5/ Restart your server
6/ Try the example script to see all went well
Good luck :)
james dot ellis at gmail dot com
08-Jun-2008 07:21
08-Jun-2008 07:21
To install the latest Imagick from PECL on an Ubuntu variant system, assuming your already have PHP5 and Apache2 installed, do the following.
You need your root password, have sudo privileges and be able to run commands from a shell (e.g via Konsole)
1. $ sudo aptitude install php-pear imagemagick php5-dev libmagick9-dev
2. do *not* install php5-imagick as you will install a later version from PECL
3. libmagick9-dev may install a whole load of dependencies. This package provides the Wand-config program and avoids the error on pecl install "configure: error: not found. Please provide a path to MagickWand-config or Wand-config program."
4. $ sudo pecl install Imagick
5. Hit enter to autodetect the "Imagemagick installation" prefix
You should see some compilation messages, noting any errors that stop the Imagick build.
When completed successfully, the following console message should appear
Build process completed successfully
Installing '/usr/lib/php5/20060613+lfs/imagick.so'
install ok: channel://pecl.php.net/imagick-2.2.0b2
Now for loading it when the web server starts/restarts
6. $ sudo kate /etc/php5/apache2/conf.d/imagick.ini
7. enter extension=imagick.so and save
8. $ sudo apache2ctl configtest
9. $ sudo apache2ctl restart
Notes:
* You can use any apt client e.g apt-get to install packages
* If you want beta Imagick then:
$ sudo pear config-set preferred_state beta
* You can now upgrade Imagick as new versions are made available in PECL the same way PEAR updates are handled.
Hope this helps some of you...
