Patch 72575 for FPM related Bug #72575
Patch version 2016-07-11 11:54 UTC
Return to Bug #72575 |
Download this patch
Patch Revisions:
Developer: gooh@php.net
diff --git a/sapi/fpm/fpm/fpm_conf.c b/sapi/fpm/fpm/fpm_conf.c
index b497d2c..dddabb7 100644
--- a/sapi/fpm/fpm/fpm_conf.c
+++ b/sapi/fpm/fpm/fpm_conf.c
@@ -763,8 +763,8 @@ static int fpm_conf_process_all_pools() /* {{{ */
}
}
- /* alert if user is not set; only if we are root and fpm is not running with --allow-to-run-as-root */
- if (!wp->config->user && !geteuid() && !fpm_globals.run_as_root) {
+ /* alert if user is not set only if we are not root*/
+ if (!wp->config->user && !geteuid()) {
zlog(ZLOG_ALERT, "[pool %s] user has not been defined", wp->config->name);
return -1;
}
|