mirror of
https://github.com/php/php-src.git
synced 2025-08-21 01:45:16 +02:00
- Fixed bug #62947 (Unneccesary warnings on FPM)
This commit is contained in:
parent
2259a8f18b
commit
e31553c204
2 changed files with 6 additions and 5 deletions
1
NEWS
1
NEWS
|
@ -19,6 +19,7 @@ PHP NEWS
|
||||||
. Fixed bug #62954 (startup problems fpm / php-fpm). (fat)
|
. Fixed bug #62954 (startup problems fpm / php-fpm). (fat)
|
||||||
. Fixed bug #62886 (PHP-FPM may segfault/hang on startup). (fat)
|
. Fixed bug #62886 (PHP-FPM may segfault/hang on startup). (fat)
|
||||||
. Fixed bug #63085 (Systemd integration and daemonize). (remi, fat)
|
. Fixed bug #63085 (Systemd integration and daemonize). (remi, fat)
|
||||||
|
. Fixed bug #62947 (Unneccesary warnings on FPM). (fat)
|
||||||
|
|
||||||
- Intl:
|
- Intl:
|
||||||
. Fix bug #62915 (defective cloning in several intl classes). (Gustavo)
|
. Fix bug #62915 (defective cloning in several intl classes). (Gustavo)
|
||||||
|
|
|
@ -121,16 +121,16 @@ static int fpm_unix_conf_wp(struct fpm_worker_pool_s *wp) /* {{{ */
|
||||||
}
|
}
|
||||||
} else { /* not root */
|
} else { /* not root */
|
||||||
if (wp->config->user && *wp->config->user) {
|
if (wp->config->user && *wp->config->user) {
|
||||||
zlog(ZLOG_WARNING, "[pool %s] 'user' directive is ignored when FPM is not running as root", wp->config->name);
|
zlog(ZLOG_NOTICE, "[pool %s] 'user' directive is ignored when FPM is not running as root", wp->config->name);
|
||||||
}
|
}
|
||||||
if (wp->config->group && *wp->config->group) {
|
if (wp->config->group && *wp->config->group) {
|
||||||
zlog(ZLOG_WARNING, "[pool %s] 'group' directive is ignored when FPM is not running as root", wp->config->name);
|
zlog(ZLOG_NOTICE, "[pool %s] 'group' directive is ignored when FPM is not running as root", wp->config->name);
|
||||||
}
|
}
|
||||||
if (wp->config->chroot && *wp->config->chroot) {
|
if (wp->config->chroot && *wp->config->chroot) {
|
||||||
zlog(ZLOG_WARNING, "[pool %s] 'chroot' directive is ignored when FPM is not running as root", wp->config->name);
|
zlog(ZLOG_NOTICE, "[pool %s] 'chroot' directive is ignored when FPM is not running as root", wp->config->name);
|
||||||
}
|
}
|
||||||
if (wp->config->process_priority != 64) {
|
if (wp->config->process_priority != 64) {
|
||||||
zlog(ZLOG_WARNING, "[pool %s] 'process.priority' directive is ignored when FPM is not running as root", wp->config->name);
|
zlog(ZLOG_NOTICE, "[pool %s] 'process.priority' directive is ignored when FPM is not running as root", wp->config->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* set up HOME and USER anyway */
|
/* set up HOME and USER anyway */
|
||||||
|
@ -350,7 +350,7 @@ int fpm_unix_init_main() /* {{{ */
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
zlog(ZLOG_WARNING, "'process.priority' directive is ignored when FPM is not running as root");
|
zlog(ZLOG_NOTICE, "'process.priority' directive is ignored when FPM is not running as root");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue