Jump to content

eriar

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Everything posted by eriar

  1. It appeared to be gs problem. I installed it with yum, and everything works now. I suppose installing it from source wasn't such a good idea Thanks!
  2. I think it have permissions. I tried: $ret1 = exec("echo 123 > test.test", $out, $return_var); And it creates test.test file. Thanks for the quick answer!
  3. 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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.