mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
Merge branch 'PHP-5.4'
* PHP-5.4: - Fixed bug #61295 (php-fpm should not fail with commented 'user' for non-root start)
This commit is contained in:
commit
9438b2c401
@ -723,8 +723,8 @@ static int fpm_conf_process_all_pools() /* {{{ */
|
||||
}
|
||||
}
|
||||
|
||||
/* user */
|
||||
if (!wp->config->user) {
|
||||
/* 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user