exec wont run a cpp program

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • chuck

    exec wont run a cpp program

    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....

    Thanks
  • chuck

    #2
    Re: exec wont run a cpp program

    chuck wrote:
    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....
    >
    Thanks
    As usual as soon as I ask the question.....

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

    Comment

    Working...