Re: PHP Uptime error
| From: | Peter Phillips | Date: | Mon, 25 Jun 2001 08:44:56 +0000 |
| Subject: | Re: PHP Uptime error | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55120@lists.php.net to get a copy of this message | ||
Linux, RedHat I think.
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.
--
"Keyboard not detected, press F1 to continue..."
"billt" <billt@ifelse.org> wrote in message
news:20010625040812.A1297@ifelse.org...
> On Mon, Jun 25, 2001 at 11:54:25AM +1000, Peter Phillips wrote:
> > I have a PHP script with the following code in it;
> >
> > $uptime = passthru ("/usr/bin/uptime");
> >
> > but when I load the PHP page I get the following;
> >
> > 8:26pm up 0 min, 0 users, load average: 0.00, 0.00, 0.00
> >
> > which is wrong (I have checked the uptime via telnet). Can anybody
please
> > help me try and fix this?
>
> What operating system?
>
>
>
> --
> 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
>