mirror of
https://github.com/php/php-src.git
synced 2024-09-26 20:37:29 +00:00
fb49f137ec
directive Trying to start PHP-FPM with the --allow-to-run-as-root flag will not work when the user directive is not given in the FPM worker pool configuration. Parsing the config will fail. Consequently, FPM cannot start. The check is in place to prevent FPM from getting started with root privileges by accident. Prior to #61295 the check would also prevent any non-root user to start PHP-FPM without a user directive present. This patch adds an additional check to the config parser, checking for the --allow-to-run-as-root flag to be present. If so, parsing will no longer abort for root users even if the user directive is missing. I will also update the PHP docs since they still state the user directive is a mandatory setting which it is not since #61295. |
||
---|---|---|
.. | ||
aolserver | ||
apache | ||
apache2filter | ||
apache2handler | ||
apache_hooks | ||
caudium | ||
cgi | ||
cli | ||
continuity | ||
embed | ||
fpm | ||
isapi | ||
litespeed | ||
milter | ||
nsapi | ||
phpdbg | ||
phttpd | ||
pi3web | ||
roxen | ||
tests | ||
thttpd | ||
tux | ||
webjames |