RE: [PHP] open_basedir "/" not working after upgrade
| From: | Ed Lazor | Date: | Mon, 30 Aug 2004 17:24:53 +0000 |
| Subject: | RE: [PHP] open_basedir "/" not working after upgrade | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195167@lists.php.net to get a copy of this message | ||
Are you getting any error messages? What makes you say that the
open_basedir directive isn't working? Are you trying this from within
php.ini?
Is virtualhosting involved? Which OS are you hosting on? Have you tried
getcwd() to see which directory you're defaulting to?
> -----Original Message-----
> From: Federico Petronio [mailto:petrus@activesec.biz]
> Sent: Monday, August 30, 2004 10:15 AM
> To: php-general
> Subject: Re: [PHP] open_basedir "/" not working after upgrade
>
> Federico Petronio wrote:
>
> > Hello all...
> >
> > I just upgrade PHP from version 4.3.4 to version 4.3.8. After the
> > upgrade, almost everything worked fine but the open_basedir directive.
>
> Finally, after reading some mail from mailing lists and some try and
> error, I found that:
>
> open_basedir none
>
> is equal to
>
> open_basedir "/"
>
> and "/" has no effect at all.
>
> Nevertheless in the documentation is no reference to the especial "none"
> parameter.
>
> What exactly means "open_basedir none"? It is like "disable
> open_basedir" or like "use the default value"?
>
> Thank you...
>
> --
> Federico Petronio
> petrus@activesec.biz
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php