Re: PHP 4.0 Bug #6495: open_basedir has no efect in php.ini
| From: | dexter | Date: | Sat, 02 Sep 2000 21:00:08 +0000 |
| Subject: | Re: PHP 4.0 Bug #6495: open_basedir has no efect in php.ini | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31685@lists.php.net to get a copy of this message | ||
If I'm not wrong,acording to the php manual,php read php.ini at every
invocation.Good.Then,again acording the manual when a script tries to open a
file the location of file is checked(by php I understand) and if it is
outside the directory-tree specified in the open_basedir directive php will
refuse to open it.Scuse me but this mechanism don't look to me to depend by
the operating system or by the filesystem.So,I think is only about php
behavior.If with the same binary under NT open_basedir work and under win95
no is strange but I still look for a logic explanation before blaming the
insecure of win95.
dexter.
----- Original Message -----
From: "Zeev Suraski" <zeev@zend.com>
To: "Rasmus Lerdorf" <rasmus@php.net>
Cc: <dexter@deuroconsult.ro>; <php-dev@lists.php.net>
Sent: Saturday, September 02, 2000 5:15 AM
Subject: Re: [PHP-DEV] PHP 4.0 Bug #6495: open_basedir has no efect in
php.ini
> I don't blame you, I'm half asleep :)
> The same binary is used for both Windows 95, and Windows NT, so the same
> problem applies under Windows NT as well. Under Windows NT, open_basedir
> does make sense.
>
> Zeev
>
> On Fri, 1 Sep 2000, Rasmus Lerdorf wrote:
>
> > > Still, Windows 95 behaves the same under Windows NT. One day, safe
mode
> > > will make sense there (at least the open basedir stuff).
> >
> > I'm having trouble parsing this sentence.
> >
> > -Rasmus
> >
>
> --
> Zeev Suraski <zeev@zend.com>
> http://www.zend.com/
>