RE: [PHP] PHP Uptime error
| From: | scott [gts] | Date: | Tue, 26 Jun 2001 21:38:50 +0000 |
| Subject: | RE: [PHP] PHP Uptime error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55287@lists.php.net to get a copy of this message | ||
try 'cat /proc/uptime' logged in as the
webserver user and see what you get ....
(or try it thru a PHP script)
> -----Original Message-----
> From: infoz [mailto:infoz@earthlink.net]
> Sent: Tuesday, June 26, 2001 9:56 AM
> To: Peter Phillips; php-general@lists.php.net
> Subject: Re: [PHP] PHP Uptime error
>
>
> It sounds like it might be the permissions on /proc itself.
>
> What does 'ls -ld /proc' say?
>
> - Tim
> http://www.phptemplates.org
>
> ----- Original Message -----
> From: "Peter Phillips" <NOpeter.phillips@usa.netSPAM>
> Subject: Re: [PHP] PHP Uptime error
>
>
> > Thanks for your help, this is what I get when I try a uptime while logged
> in
> > as nobody.
> >
> > These are the permissions is /proc:
> > -r--r--r-- 1 root root 0 Jun 26 02:39 loadavg
> > -r--r--r-- 1 root root 0 Jun 26 02:33 uptime
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>