I am trying to write a very basic script using ImageMagick, but am running into issues. First, I believe it is properly installed. Running phpinfo shows that it's been installed.
Here is what I'm trying to run...
$image = 'file.jpg';
$im = new Imagick($image);
If file.jpg does NOT exist, I receive the expected exception message.
If file.jpg DOES exist, however, I lose connection to my server. In Chrome, I receive the following error...
[h=1]"This webpage is not available[/h]The connection to localhost was interrupted."
In FireFox, localhost isn't found, so it searches for www.localhost.com instead.
Can anyone help me clear up this issue?