Re: open_basedir

From: Date: Wed, 12 Mar 2003 21:23:02 +0000
Subject: Re: open_basedir
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-139396@lists.php.net to get a copy of this message
the php.ini file is also not user configurable. I think i found the place in my own php.ini file though where the open_basedir value would be changed though :/ "Rasmus Lerdorf" <rasmus@lerdorf.com> wrote in message news:Pine.LNX.4.44.0303121304000.876-100000@thinkpad.lerdorf.com... > > 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 >

« previous php.general (#139396) next »