Reply to Re: exec wont run a cpp program

Your name:

Reply:


Posted by chuck on 12/03/06 20:40

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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация