i was wondering why Fedora (and openSUSE) still use "apache" for the php
user (and "nginx" user for nginx) instead of using a generic "http" or
"www" user for php, apache and nginx like some other distros? When
running php under the "nginx" user, the session gets broken every time
php is updated, because the package has the "apache" user hardcoded [2]
and those dir/file perms get set back to apache. This is annoying and
confusing when using nginx and being new to Fedora and doesn't happen on
Arch, and i'm guessing not on Ubuntu/(Debian?) either. Now i've made my
own session and opcache directories, as mentioned here [1], but i'd
rather not have to make these special config adjustments for different
distros, especially when it seems like a workaround for something that
should be fixed in the packaging. Maybe i'm wrong?

Am i missing something about how people are using nginx and php
together, or is this just legacy packaging defaults from a time when
there was only apache, which haven't been reconsidered since then? If
the latter, it would be nice if Fedora would reconsider the way these
packages' users are handled.

thanks

1)
https://askbot.fedoraproject.org/en/question/111334/permissions-on-folders-in-varlibphp-changed-after-update/

2) https://bugzilla.redhat.com/show_bug.cgi?id=744405

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to