I am trying to use iMagick in Symfony2.
I am using PHP 5.4.16 and all i have done :
1-Copy php_imagick_nts.dll from php5-4 directory from the extracted http:
I'm quite sure this is to do with not having the module loaded correctly or the .dll being placed in a improper location.
You can use PHP's internal function extension_loaded() to check prior to using the class,
That's a method you can check if the module is even being reconsigned by PHP at all. PHP also provides a function to view your current extensions get_loaded_extensions():
Make sure you do:
phpinfo()
After researching too, Imagick does seem to have trouble with PHP 5.3 or upwards; Download new DLL's from this site below (Unofficial):
http://www.peewit.fr/imagick/
Also found other StackOverFlow Articles that have the same problem:
Stackoverflow: Trying to get imagick running on PHP 5.4.3 at Windows x64
Alternatively you're able to use the GD extension to more or less accomplish some of the same functions you require. I do believe GD is a more widely supported module/extension in more recent versions of PHP.