Page 1 of 1

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

Posted: 2009-03-22T03:12:00-07:00
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

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

Posted: 2009-03-23T00:58:46-07:00
by mrtrombone
Resolved - Sorry ridiculous error - I hadn't stop and restarted Apache since installing imageMagick