9cae5e
diff -up php-7.2.4RC1/sapi/litespeed/lsapilib.c.dlopen php-7.2.4RC1/sapi/litespeed/lsapilib.c
9cae5e
--- php-7.2.4RC1/sapi/litespeed/lsapilib.c.dlopen	2018-03-13 12:40:25.330885880 +0100
9cae5e
+++ php-7.2.4RC1/sapi/litespeed/lsapilib.c	2018-03-13 12:41:35.797251042 +0100
9cae5e
@@ -755,7 +755,7 @@ static int (*fp_lve_leave)(struct liblve
9cae5e
 static int (*fp_lve_jail)( struct passwd *, char *) = NULL;
9cae5e
 static int lsapi_load_lve_lib(void)
9cae5e
 {
9cae5e
-    s_liblve = dlopen("liblve.so.0", RTLD_LAZY);
9cae5e
+    s_liblve = dlopen("liblve.so.0", RTLD_NOW);
9cae5e
     if (s_liblve)
9cae5e
     {
9cae5e
         fp_lve_is_available = dlsym(s_liblve, "lve_is_available");
9cae5e
diff -up php-7.2.4RC1/Zend/zend_portability.h.dlopen php-7.2.4RC1/Zend/zend_portability.h
9cae5e
--- php-7.2.4RC1/Zend/zend_portability.h.dlopen	2018-03-13 12:33:38.000000000 +0100
9cae5e
+++ php-7.2.4RC1/Zend/zend_portability.h	2018-03-13 12:40:25.330885880 +0100
9cae5e
@@ -144,11 +144,11 @@
9cae5e
 # endif
9cae5e
 
9cae5e
 # if defined(RTLD_GROUP) && defined(RTLD_WORLD) && defined(RTLD_PARENT)
9cae5e
-#  define DL_LOAD(libname)			dlopen(libname, RTLD_LAZY | RTLD_GLOBAL | RTLD_GROUP | RTLD_WORLD | RTLD_PARENT)
9cae5e
+#  define DL_LOAD(libname)			dlopen(libname, RTLD_NOW  | RTLD_GLOBAL | RTLD_GROUP | RTLD_WORLD | RTLD_PARENT)
9cae5e
 # elif defined(RTLD_DEEPBIND) && !defined(__SANITIZE_ADDRESS__)
9cae5e
-#  define DL_LOAD(libname)			dlopen(libname, RTLD_LAZY | RTLD_GLOBAL | RTLD_DEEPBIND)
9cae5e
+#  define DL_LOAD(libname)			dlopen(libname, RTLD_NOW  | RTLD_GLOBAL | RTLD_DEEPBIND)
9cae5e
 # else
9cae5e
-#  define DL_LOAD(libname)			dlopen(libname, RTLD_LAZY | RTLD_GLOBAL)
9cae5e
+#  define DL_LOAD(libname)			dlopen(libname, RTLD_NOW  | RTLD_GLOBAL)
9cae5e
 # endif
9cae5e
 # define DL_UNLOAD					dlclose
9cae5e
 # if defined(DLSYM_NEEDS_UNDERSCORE)