Return code 4 from PHP exec - convert(Windows XP)
Posted: 2009-03-22T03:12:00-07:00
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
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