Re: safe mode in 4.0.4pl1
| From: | Richard Lynch | Date: | Tue, 16 Jan 2001 03:31:43 +0000 |
| Subject: | Re: safe mode in 4.0.4pl1 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-34750@lists.php.net to get a copy of this message | ||
suExec() does most of what safe_mode would do, and other things besides...
I don't think they are compatible...
What exactly is your suExec'ed PHP able to do that you want to not allow?
----- Original Message -----
From: Ian Gulliver <ian@penguinhosting.net>
Newsgroups: php.general
Sent: Monday, January 15, 2001 11:58 AM
Subject: [PHP] safe mode in 4.0.4pl1
> I'm running PHP 4.0.4pl1 as a CGI under Apache 1.3.14 with suexec.
> Whenever I turn on safe_mode in php.ini, the following messages appear
> from a script owned by and running as uid 1013 which is trying to include
> files owned by uid 1013 in a directory owned by 1013:
>
> Warning: SAFE MODE Restriction in effect. The script whose uid is -1 is
> not allowed to access header.php owned by uid 1013 in archive.php on line
> 1.
>
> Any help would be much appreciated.
>
>
> --
> 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
>