friendica.eskimo.com

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");
?>
Shoreline, WA, USA
Found the issue, it wasn't a PHP problem per se' but a permissions problem, /usr/spool/rwho had no public search permissions so the user php was executing rwho with did not have permissions to access the directory.