PDA

View Full Version : Imagemagick installed, but not working


andsever
6th of July 2005 (Wed), 23:46
My host installed Imagemagick and tested it according to IM's instructions, and reported that everything works fine on their side.

When I test it in EE though, it gives an error.

First of all, it says the paths I enter for Convert and Composite are incorrect.

Here's the path:
D:/Program Files/ImageMagick-6.2.3-Q8/composite.exe
(tried with quotation marks and without; tried slashes both ways, too / and \)

And then when testing, the error it shows:

Original size: 769x513
Warning: exec() [function.exec]: Unable to fork ['D:/Program Files/ImageMagick-6.2.3-Q8/convert.exe' -size 110x73 UPLOAD/test/source.jpg -resize 110x73! +profile '*' -unsharp .8x.7+2+.01 UPLOAD/test/ee_result_92cf20fec7.jpg] in D:\my gallery path\input\EDITOR_graphics_modules.php on line 780

Warning: exec() [function.exec]: Unable to fork [exit 0] in D:\my gallery path\input\EDITOR_graphics_modules.php on line 781

I don't see any obvious explanation in the error.
Anyone have a solution?

Thank you in advance.

Regards, Andrew

wareseeker
7th of July 2005 (Thu), 00:49
Are you install this program in Windows?

Pekka
7th of July 2005 (Thu), 04:34
Windows related system configuration problem.

Two possible solutions:

1. give the IIS IUSR_xxxxx guest user Read & Execute permissions to Cmd.exe found in the System32 folder under Windows root directory.

or 2. Move 'cmd.exe' to c:\php (and set the correct permissions)