|
Posted by Ray on 06/16/05 16:04
Hi
Ok, my permissions are set to the same as yours..
Try using something like this..
<?
$strUptime = exec("uptime");
echo "<pre>";
echo $strUptime;
echo "</pre>";
?>
It will return "15:01:35 up 8:52, 6 users, load average: 0.05, 0.16,
0.09"
Hope this helps..
Ray
"zeman" <marckhayat@gmail.com> wrote in message
news:1118922510.889818.24880@f14g2000cwb.googlegroups.com...
> hi ray,
> [root@linux /]# ls -l /proc | grep uptime
> -r--r--r-- 1 root root 0 Jun 16 14:41 uptime
>
> It has "read" permission of owner, group, and other.
> Apache is running with a user with UID 500.
>
> Thanks
>
Navigation:
[Reply to this message]
|