I have a problem with ImageMagick.
I downloaded and installed ImageMagick, but when I try to execute some php code, it doesn't work.
I tried to install ImageMagick in a lot of ways:
1) with installers:
ImageMagick-6.6.9-1-Q16-windows-x64-dll.exe
and later
ImageMagick-6.6.9-1-Q16-windows-x64-static.exe
downloaded form here http://www.imagemagick.org/script/binary-releases.php
2) with PEAR:
I downloaded and installed pear 1.9.2 from here http://pear.php.net/package/PEAR/download
and then tried to launch the command "pear install imagick"
3) I downloaded php_imagick.dll and copied into C:/xampp/php/ext/
and then modified the file php.ini adding the row "extension=php_imagick.dll"
anything works...
if I launch this code:
Code: Select all
<?php
system("convert -version");
$image = new Imagick('image.jpg');
?>
Code: Select all
[quote]Version: ImageMagick 6.6.9-1 2011-03-28 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC Features: OpenMP
Fatal error: Class 'Imagick' not found in C:\xampp\htdocs\myapp\index.php on line 75[/quote]
can somebody help me?
Please I red a lot of different topics in different forums... guidelines, official documentation, but nothing helped me...
this is my configuration:
windows 7 professional x64
xampp 1.7.3
php 5.3.1
apache 2.2.14
pear 1.9.2