Preloading is not comatible with dl() function

This commit is contained in:
Dmitry Stogov 2019-08-06 12:44:55 +03:00
parent 170a3f871f
commit d5d76ea6e7

View File

@ -4299,6 +4299,12 @@ static int accel_preload(const char *config)
CG(map_ptr_last) = orig_map_ptr_last;
if (EG(full_tables_cleanup)) {
zend_accel_error(ACCEL_LOG_FATAL, "Preloading is not comatible with dl() function.");
ret = FAILURE;
goto finish;
}
/* Inheritance errors may be thrown during linking */
zend_try {
preload_link();