mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Call php_child_init() after fork during preloading (#19287)
This commit is contained in:
parent
ce6e7a2786
commit
712508fdb2
1 changed files with 1 additions and 0 deletions
|
@ -5006,6 +5006,7 @@ static zend_result accel_finish_startup_preload_subprocess(pid_t *pid)
|
|||
zend_accel_error(ACCEL_LOG_WARNING, "Preloading failed to setuid(%d)", pw->pw_uid);
|
||||
exit(1);
|
||||
}
|
||||
php_child_init();
|
||||
}
|
||||
|
||||
return SUCCESS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue