Imagemagick apparently correctly configured, still won't work under IIS 7.5 + PHP 5.3.2

Posted by Razor on Server Fault See other posts from Server Fault or by Razor
Published on 2011-04-17T14:24:02Z Indexed on 2012/03/30 17:33 UTC
Read the original article Hit count: 200

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.

© Server Fault or respective owner

Related posts about windows-server-2008-r2

Related posts about iis7.5