Re: Re: Simple File Error
| From: | Catalin Trifu | Date: | Mon, 01 Sep 2003 00:01:07 +0000 |
| Subject: | Re: Re: Simple File Error | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161329@lists.php.net to get a copy of this message | ||
Hi,
The user root is the which starts the main apache process,
the others are the actual servers spawn by the first one. So
the user under which apache runs is www.
This means that you need to grand write access to those
directory to the user www, and or the group (www i suppose)
Cheers,
Catalin
FYI:
To find out the user used by apache you can look in httpd.conf and
look for the directive User
"Seth Willits" <seth@freaksw.com> wrote in message
news:AC7DF56A-DC0D-11D7-90D4-003065A83B94@freaksw.com...
> On Sunday, August 31, 2003, at 04:38 PM, Catalin Trifu wrote:
>
> > Does the user under wich the Apache server runs (implicitly PHP)
> > has write access to those directories ?
>
> Hmm... I don't know. Not exactly sure how Apache runs under OS X. I see
> a handful of httpd processes which are under the user 'www' and one
> other that is under 'root'.
>
>
> Seth Willits
> ------------------------------------------------------------------------
> ---
> President and Head Developer of Freak Software -
> http://www.freaksw.com
> Q&A Columnist for REALbasic Developer Magazine -
> http://www.rbdeveloper.com
> Webmaster for REALbasic Game Central -
> http://www.freaksw.com/rbgames
>
> "Rather fail with honor than succeed by fraud."
> -- Sophocles
> ------------------------------------------------------------------------
> ---