From d5d76ea6e7a13db454e7711c7d7cf614652e4a9d Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 6 Aug 2019 12:44:55 +0300 Subject: [PATCH] Preloading is not comatible with dl() function --- ext/opcache/ZendAccelerator.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index c2a97f67df..6361cfa124 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -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(); -- 2.40.0