Problem running external program with php
Posted on 2006-07-04
Have a little problem. I'm trying to run a program by clicking a buttonion a php web page. When i run it in a shell (I work with Suse linux 9.1), it works perfect . But the same call with php functions(exec(), passthru(), shell_exec...) won't work. Why?
Standard linux shell commands like whoami or pwd work when called throught php. But none of my personal program or commercial ones runs when called by php functions. Any idea? (safe_mode is off in php.ini).