Re: PHP Uptime error
| From: | Tim Zickus | Date: | Mon, 25 Jun 2001 11:07:53 +0000 |
| Subject: | Re: PHP Uptime error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-55127@lists.php.net to get a copy of this message | ||
Check the permissions on the files in /proc, which is where uptime gets its
info from, most likely.
You could probably even read the pseudo-file '/proc/loadavg' as 'nobody'
directly from PHP given the appropriate file permissions.
- Tim
http://www.phptemplates.org
> Richard Lynch's advice was correct, I cannot run uptime under nobody for
> some reason. Does anyone know how to change this? The permissions are
set
> to allow everyone to execute it.