Re: Safe mode w/ IIS4 + PHP
| From: | Eric R. Gavin | Date: | Mon, 17 Sep 2001 20:42:13 +0000 |
| Subject: | Re: Safe mode w/ IIS4 + PHP | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9392@lists.php.net to get a copy of this message | ||
I have an open bug submission for this subject; and even tried to append to
the documentation about the subject that you just mentioned (much of Safe
Mode not working under Win32 because of ownership issues.)
Rasmus Lerdorf suggested that I submit the bug report, and as far as I know
it is still "Open."
Eric Gavin
"Erick Baum" <erick@teal.net> wrote in message
news:20010916154249.90033.qmail@pb1.pair.com...
> I am having a similar problem with Windows2000, IIS5, and the latest
stable
> PHP. I don't believe Safe Mode works in a Windows environment anyways,
> because it does not understand Windows permissions as far as ownership.
> However, I was told to use the open_basedir option which in php.ini. You
> set it to the root of where you want files to be able to be opened from.
> For example open_basedir = c:\inetpub\wwwroot\ which would only allow
them
> to open files located somewhere in that directory or a sub-directory under
> it. Or you're supposed to be able to do something like open_basedir = .
> which is supposed to tell it that a PHP script can only open files in the
> directory and sub-directories where the script resides. This would be the