Re: open_basedir Option
| From: | Chris Wesley | Date: | Thu, 20 Feb 2003 00:17:47 +0000 |
| Subject: | Re: open_basedir Option | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136275@lists.php.net to get a copy of this message | ||
On Wed, 19 Feb 2003, Joachim Krebs wrote:
> How do I set the php.ini setting open_basedir on a per-directory
> basis? Ideally, I would like to set it using .htaccess files...
open_basedir can only be set in php.ini or httpd.conf.
You might be able to set it in <Directory> stanzas within your httpd.conf,
but you cannot set it in .htaccess files within directories (nor with
ini_set()).
~Chris