problem with imagemagic+php+apache on windows

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Shuric

problem with imagemagic+php+apache on windows

Post 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.
Shuric

Re: problem with imagemagic+php+apache on windows

Post 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.
Post Reply