exec wont run a cpp program

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I'm trying to get Zonminder up and running on FC4
One of the asso programs is zmu.cpp - compiles fine. And runs
from the command line IE. > /u/l/b/zmu -help  returns Usage.
zmu -m 2 -z  (real cmd) from cmd line does what it should do.

However (in xx.php) exec ("/usr/local/bin/zmu -m 2 -z", $ret);  doesn't.
 From what I can tell it doesn't even enter the program. Permissions
are 755. If I change the exec to ("ls") - works, date - works.  I've
compared "env" - nada.  SafeMode = Off.  Is there ?anything? else that
might cause my problem?

tiny little passages all all alike .... @ Wit's end....


Re: exec wont run a cpp program

chuck wrote:
Quoted text here. Click to load it

As usual as soon as I ask the question.....

SELinux is/was the problem. I was secured right out of business.

Site Timeline