Skip to content

Commit d5d76ea

Browse files
committed
Preloading is not comatible with dl() function
1 parent 170a3f8 commit d5d76ea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4299,6 +4299,12 @@ static int accel_preload(const char *config)
42994299

43004300
CG(map_ptr_last) = orig_map_ptr_last;
43014301

4302+
if (EG(full_tables_cleanup)) {
4303+
zend_accel_error(ACCEL_LOG_FATAL, "Preloading is not comatible with dl() function.");
4304+
ret = FAILURE;
4305+
goto finish;
4306+
}
4307+
43024308
/* Inheritance errors may be thrown during linking */
43034309
zend_try {
43044310
preload_link();

0 commit comments

Comments
 (0)