Posted by Ray on 06/16/05 13:45
Hi
It seems as though the apache user that was created on your box does not
have rights to access /proc/uptime.
Check your permissions on that directory.
Regards
Ray
"zeman" <marckhayat@gmail.com> wrote in message
news:1118918500.689031.284030@f14g2000cwb.googlegroups.com...
> Hi all,
> i'm new at PHP.
> it's running on Linux RedHat, with Apache 2.0.52.
>
> i'm getting the following errors:
> Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in
> /var/www/html/......
> and
> Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid
> is 500 is not allowed to access /proc/uptime owned by uid 0 in
> /var/www/html/xxx.php on line 4
>
> In my php.ini file, i have
> safe_mode = false
> i tried safe_mode = 0 or OFF, but same problem.
>
> Anyone can help me plz ?
>
> Thanks!
>
[Back to original message]
|