Page 1 of 1

problem with imagemagic+php+apache on windows

Posted: 2008-12-11T13:18:00-07:00
by Shuric
Hello,

I have Apache 2.0.63 with PHP 5.2.6 on Windows XP. I installed
ImageMagick (ImageMagick-6.4.7-6-Q16-windows-dll), IMagic
PHP plugin (file version 5.2.7.7) and GhostScript (gs863w32).
It works fine with jpeg and png (I didn't try other raster formats)
in command line and php, works with pdf in command line, but fails
with pdf in php. File monitor shows, that Apache process try
to open files magic.xml, locale.xml, english.xml and delegate.xml,
and can't open them all, becase it looks for them in apache\bin,
%userprofile% and apache root folders, but not in ImageMagic
config folder, where they are located.

Is this a bug, or versions incompatibility, or I do something wrong?

Thank you.

Re: problem with imagemagic+php+apache on windows

Posted: 2008-12-13T12:39:57-07:00
by Shuric
The same problem present when using MagickWand for PHP. It seems ImageMagick
doesn't query windows registry for configuration path at all (at least registry monitor
shows this) in PHP.