problem with imagemagic+php+apache on windows
Posted: 2008-12-11T13:18:00-07:00
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.
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.