Hi Taylor,

* Taylor Fletcher [Thu, 16 Aug 2001 09:16:23 -0700]:
> Im getting a permission denied when I try to mkdir. What I can deduce
> is that PHP is running under the user nobody through apache. I need to
> be able to add the web root to the directories that user nobody can
> use.

The DocumentRoot option is set for Apache in your httpd.conf. If you are
running some version of *nix, you can either add user nobody to the
group the DocumentRoot belongs to, or you can use chown to change the
owner of this directory to nobody.

> There is a default line in the httpd.conf that has AllowOveride set to
> None.  If I change this to AllowOverride to All, will that fix the
> problem? Is that recommended?

No, this Apache option has nothing to do with Apache/PHP being able to
write to files or directory. It governs which Apache options can be
overriden in sub directories.

Lutz
-- 
** Please read these useful resources. **
Java Anon Proxy: http://anon.inf.tu-dresden.de/
Attribution FAQ: http://www.math.fu-berlin.de/~guckes/faq/attribution.html
Signature FAQ:   http://www.math.fu-berlin.de/~guckes/message/sig.etiquette.html

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to