mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Merge branch 'PHP-7.4'
* PHP-7.4: Fixed bug #78512 (Cannot make preload work)
This commit is contained in:
commit
42f4bdba2a
@ -4620,6 +4620,11 @@ static int accel_finish_startup(void)
|
||||
zend_accel_error(ACCEL_LOG_FATAL, "Preloading failed to waitpid(%d)", pid);
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
if (ZCSG(preload_script)) {
|
||||
preload_load();
|
||||
}
|
||||
|
||||
zend_shared_alloc_unlock();
|
||||
if (WIFEXITED(status) && WEXITSTATUS(status) == 0) {
|
||||
return SUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user