Running script produces no output

From: Date: Wed, 06 Aug 2003 06:38:51 +0000
Subject: Running script produces no output
Groups: php.general 
Request: Send a blank email to php-general+get-158425@lists.php.net to get a copy of this message
Greetings learned PHP(eople); I have a small script sitting in my web directory which I have called upon as follows : <?php shell_exec('./info.sh'); ?> The script is not being run, yet I can do things like <?php $info=shell_exec('ls -l'); echo '<pre>$info</pre>'; ?> ..which produce output to the browser... I have tried 'chown apache:apache info.sh' but this doesn`t change anything.... I have also tried using './info.sh' with no result.... Any pointers much appreciated as to why this won`t work. The permissions are as follows for the script file : -rwxrwxrwx 1 root root 2456 Aug 5 16:35 info.sh Regards -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 Join the army, see the world, meet interesting, exciting people, and kill them.

« previous php.general (#158425) next »