Return code 4 from PHP exec - convert(Windows XP)

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
mrtrombone

Return code 4 from PHP exec - convert(Windows XP)

Post by mrtrombone »

Hi

I can successfully run convert anywhere from the command line so it is obviously in my environment variables correctly however when I try to call it from a PHP file I just get a return code of 4.

I am running Windows XP, Apache HTTP Server 2.2.4, PHP 5. It is just my local dev machine so I have full rights.

Can someone point me in the right direction regarding how to solve this. Are there some other variables I need to set or paths I need to explicitly set in my code?

Thanks in advance
mrtrombone

Re: Return code 4 from PHP exec - convert(Windows XP)

Post by mrtrombone »

Resolved - Sorry ridiculous error - I hadn't stop and restarted Apache since installing imageMagick
Post Reply