mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Improve warning message
This commit is contained in:
parent
722ed598d5
commit
2864282725
@ -4677,7 +4677,7 @@ static int accel_finish_startup_preload_subprocess(pid_t *pid)
|
||||
if (euid != 0) {
|
||||
if (ZCG(accel_directives).preload_user
|
||||
&& *ZCG(accel_directives).preload_user) {
|
||||
zend_accel_error(ACCEL_LOG_WARNING, "\"opcache.preload_user\" is ignored");
|
||||
zend_accel_error(ACCEL_LOG_WARNING, "\"opcache.preload_user\" is ignored because the current user is not \"root\"");
|
||||
}
|
||||
|
||||
*pid = -1;
|
||||
|
@ -22,7 +22,7 @@ var_dump(function_exists("f2"));
|
||||
?>
|
||||
OK
|
||||
--EXPECTF--
|
||||
%sWarning "opcache.preload_user" is ignored
|
||||
%sWarning "opcache.preload_user" is ignored because the current user is not "root"
|
||||
bool(true)
|
||||
bool(false)
|
||||
OK
|
||||
|
Loading…
Reference in New Issue
Block a user