I have set up imageMagick on my windows machine with WAMP
. I'm trying to convert a pdf
to jpg
and via the command prompt everything works fine. If I run the php script, I get the following error.
( ! ) Fatal error: Uncaught exception 'ImagickException' with message 'unable to load module `C:\imagemagick\IM_MOD_RL_PDF_.dll' in D:\wamp\www\docms\aaaapdf\sample.php on line 2
( ! ) ImagickException: unable to load module `C:\imagemagick\IM_MOD_RL_PDF_.dll': The specified procedure could not be found. @ error/module.c/OpenModule/1277 in D:\wamp\www\docms\aaaapdf\sample.php on line 2
I think this might have something to do with environment variables. Any suggestions?