How to make php5-fpm (fast cgi) work from another user in the docker container. PHP starts via supervisor.
[program:php5-cgi] command=/usr/sbin/php5-fpm -F according to the documentation , you can use the user=пользователь directive. example:
[program:php5-cgi] command=/usr/sbin/php5-fpm -F user=www-data Of course, the supervisord process itself must be run as root .
Source: https://ru.stackoverflow.com/questions/516298/
All Articles