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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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); zend_accel_error(ACCEL_LOG_WARNING, "Preloading failed to setuid(%d)", pw->pw_uid);
exit(1); exit(1);
} }
php_child_init();
} }
return SUCCESS; return SUCCESS;