mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Call php_child_init() after fork during preloading (#19287)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user