Am 14.06.2013 13:21, schrieb Rafnews:
On 14.06.2013 13:18, Reindl Harald wrote:
> Am 14.06.2013 12:35, schrieb Rafnews:
>> however using my standard fedora user account, Ii still can not edit/remove/move
>> files/folders owned by apache user account. while searching on internet i
discovered
>> that fastCGI should allow me (using my fedora user account) to do such thing,
even
>> if files/folders are owned by apache user account
> this has *nothing* to with mod_php oder fastcgi
> the permissions are how they are
>
> * man setfacl
> * man chown
> * man chgrp
> * man chmod
>
> and by the way - the apache user should *not* own the files because
> typically a webserver should not be able to rewrite his content
> files in case of a security breach
>
2 of our webserver hosting companies told us that if we want to have files own
by some other user account than apache, it is needed to have fastCGI..if not,
than we need suPHP or suExec.
fire the company if they said this really in this way
CGI is needed instead mod_php to have own processes which is
the base for suPHP and suExec but that has *nothing* to do with
your problem above on your local test-setup which would be solved
with the right permissions / ACL's
However it has been told that FastCGI provide also a performance
increase so, we would like to reach it also :)
ok, fire them really
it is impossible that the webserver speaking via CGI/FCGI with a standalone PHP
binary is faster than having PHP inside the httpd process and this sounds like
a typical "webserver hosting company" knowing zero to nothing