I am trying to get Imagick working; My development environment is:
- Windows 2008 Server
- II7
- PHP 5.3.10
- Imagick is installed (I hope properly)
I:
- Checked if the class exists, and it does. (
if (class_exists('Imagick')) {}
) - Checked if I can create an Imagick obj, creates object (
new Imagick();
) - Applied the method and that worked too! (
$image ->setResolution(72, 72);
)
But, whenever I try to work with any image I have in the folder, I get a 500 - Internal server error
.
Any one of these scripts will generate a 500 error:
$image = new Imagick('images/logo.jpg');
or
$image ->readImage("images/logo.jpg");
or anything that involves accessing an image from a folder.