ID #1256

Howto install Imagemagick / Imagick for PHP in Debian Etch


First option is using default repositories = imagemagick version 6.2.4
Second option is using backport repositories = imagemagick version 6.3.7

1) imagemagick version 6.2.4
apt-get install php-pear imagemagick libmagick9-dev
pecl install imagick-2.2.2
we have to install older version imagick-2.2.2, newer will not work...
now skip section 2) and continue with last step :-)

2) imagemagick version 6.3.7

add backport repositories
backports.org/dokuwiki/doku.php?id=instructions
ie:
in /etc/apt/sources.list add line:
deb http://www.backports.org/debian etch-backports main contrib non-free
and install archive's key:
apt-get install debian-backports-keyring
then install imagemagick from backports repository and imagick using pecl:
apt-get update
apt-get -t etch-backports install imagemagick libmagick9-dev
apt-get install php-pear
pecl install imagick

As a last step you should create file
/etc/php5/conf.d/imagick.ini
containing line:
extension=imagick.so
and restart apache:
/etc/init.d/apache2 restart
Done!

Categories for this entry

Značky: -

Související záznamy:

Můžete přidat komentář k odpovědi