Unable to start php-fpm - "cannot get uid for user 'apache'"
The apache
user comes from php-fpm.conf
file. It does not matter that you run it as root, the service will start as the user which is configured in this file.
Find your php-fpm.conf
file. It should be somwhere in /etc
. Edit it and change lines
user = apache
group = apache
to
user = www-data
group = www-data
I'm assuming your default nginx configuration also uses the www-data
user.
For a docker OpenShift no root way, prepare groups in build
vim /etc/groups
e.g. nobody:x:999:
it's after some update in php-fpm