Hi all!
I have really strange problem. I'm trying to execute this php command:
$ret1 = exec("/usr/local/bin/gm convert test.pdf test.gif", $out, $return_var);
The output is:
ret1-> string(0) ""
out -> array(0) { }
return_var->int(1),
and test.gif is NOT created.
From command line it works. ( centos 5.3, php 5.2.9, apache 2.2.3, GraphicsMagick-1.3.2 ).
This: $ret1 = exec("/usr/local/bin/gm -help", $out, $return_var); : works too, as expected.
Other commands like ls -la, whoami, etc, are working too.
Does anyone have a clue of how to solve this issue? Or a right question I should ask google?
Sorry if I'm not asking in the right place.
Thanks,
Eriar