[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to activate php in apache



Jerry Stuckle wrote:
> Bob Proulx wrote:
> >Jerry Stuckle wrote:
> >>Bob Proulx wrote:
> >>>>does not work in /var/wwww (with 644 permissions)
> >>>How did /var/www get 644 permissions?  That is also incorrect.
>
> The OP is talking about a script.  Look again:
> "does not work in /var/wwww (with 644 permissions)".
> He's talking about a script in the directory, not the directory itself.
> Yes, a script in /var/www.

Okay.  You are right.  I am wrong.  He is talking about files inside
that directory.

> Ownership of the directory is root:root, but the scripts should
> *never* be owned by root:root.

Uhmm...  No.  There is no problem whatsoever with php files being
owned by root:root.  Why do you think it is a problem?

I agree with you that they should not be owned by the web server
process (default www-data:www-data on Debian) although some people do
set things up that way regardless.  But since we are agreed on that
point we can both argue with others who like it that way. ;-)

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: