Php Problem


Wondering if someone can tell me why the php system call works from the command line, even if executed with php-cgi, but does not work when called from a web browser executed by php-exec via apache:

<?php
system ("rwho -a | grep -v unknown | grep -v lightdm");
?>

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.