On 1/3/07, Kyle Waters <[EMAIL PROTECTED]> wrote:
I have a php script which uses exec. When I run it from the command
line as the apache user it works. when I try to run it through the web
server it doesn't. No errors or anything not even in the logs. I'm
using rhel 4 and php 4.3.9
Can anyone tell me what's wrong or how to debug this?
Are you outputting all the available information exec returns?:
$output = exec($cmd, $status);
echo("Cmd: $cmd<br />\n");
echo("output: $output<br />\n");
echo("Status: ");
print_r($status);
--
Chris
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/