I have managed to get imagemagick working (tested using the command line example on their website)
It also appears that the php extension is correctly installed: I can see it listed in my phpinfo();
list.
However, when I try to run the following code:
$im = new imagick( 'examples.jpg' );
$im->thumbnailImage( 200, 0);
$im->writeImage( 'a_thumbnail.jpg' );
The execution stops at the second line, because it cannot find the thumbnailImage method.
What I can think of is that some user doesn't have enough privileges to access/run something else, but I obviously cannot give user access to everything.
Another possibility is that the PHP extension I'm using is not the suitable one for the latest imagemagick distribution.
I've had the same issue. Take a look at the Visual Studio version used to compile a) ImageMagick, b) php_imagick.dll, c) php and take a look at the thread-safety-flags for the php. The Visual Studio versions have to be the same. The most important in this queue and this scenario is the VS version used to compile ImageMagick. They put the VS-C++ runtime-dll's in the ImageMagick installdir. They are named msvcr[71|90|100].dll and msvcp[71|90|100].dll.
My test was:
Could be related to the fact that PHP is running in safe mode.
http://www.imagemagick.org/discourse-server/viewtopic.php?f=10&t=13055
http://www.theukwebdesigncompany.com/articles/php-imagemagick.php
quote: If your server is running PHP in safe mode, which it is likely to be if you're using a (free) shared host, your scripts don't have the right to execute shell commands. As this script runs ImageMagick as a shell command, you won't be able to use it. You could a. ask your hosting provider to disable safe mode or b. use the GD library to generate your images. ImageMagick is far more powerful than the GD library, but you can use the latter even in safe mode.
I have used following article to install image magic on my Windows 7 machine with IIS 7.5 and it is working fine. I would suggest to check the same:
http://gary-greendale.blogspot.com/2011/01/install-php-imagemagick-and-imagick-for.html