Github messages for voidlinux
 help / color / mirror / Atom feed
From: LeamHall <>
Subject: Re: Package php-fpm tries to use user and group http
Date: Fri, 11 Jun 2021 15:42:06 +0200
Message-ID: <20210611134206.fnZIjyCiFpujYLhpt2oNpkYWhGtbYx4YUtyybwvGkzs@z> (raw)
In-Reply-To: <>

[-- Attachment #1: Type: text/plain, Size: 977 bytes --]

New comment by LeamHall on void-packages repository

I am not a web person nor have I ever built my own Linux distro. My ideas are just ideas, I'm not sure if they are any good.

What permissions does php-fpm need? Does it need write access to the web directories? Does it need the UID/GID of whatever is serving httpd?

Changing Apache at this point would be a bit of work, and established servers might have an issue. I'm not sure how many sites are using the php-fpm package, but it might be fewer than are using Apache or Nginx. 

If php-fpm just needs read access to the web files, then it could just test for read file/execute directory access on the installed package's ServerRoot. The php-fpm package could then use whatever UID/GID it wanted, and create. If it must use an httpd server's UID/GID, then it may need to search for whatever is installed, and default to http.

  parent reply	other threads:[~2021-06-11 13:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-11  2:36 [ISSUE] " LeamHall
2021-06-11  5:16 ` ericonr
2021-06-11 13:42 ` LeamHall [this message]
2021-06-17 17:58 ` the-eater
2021-06-17 19:00 ` LeamHall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210611134206.fnZIjyCiFpujYLhpt2oNpkYWhGtbYx4YUtyybwvGkzs@z \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ \
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone