Re: open_basedir
| From: | Rasmus Lerdorf | Date: | Wed, 12 Mar 2003 21:04:28 +0000 |
| Subject: | Re: open_basedir | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139394@lists.php.net to get a copy of this message | ||
> My host currently has open_basedir() enabled, and unfortunately, they don't
> know how to disable it :p
>
> I'd like open_basedir() disabled because it would make my life easier, I can
> hide certain files underneath the web root.
>
> So I've done some quick research. I'm looking at the ini_set() function:
> http://www.php.net/manual/en/function.ini-set.php
>
> If i have my host insert this line into php.ini, and restart the apache
> server, then everything should work just dandy, right?
>
> ini_set(open_basedir, FALSE);
No, open_basedir is not user-configurable. That would sort of defeat its
purpose.
-Rasmus