1
0
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:
Arnaud Le Blanc
2025-07-29 16:10:35 +02:00
committed by GitHub
parent ce6e7a2786
commit 712508fdb2

View File

@@ -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;