From 55a53050e6b45d5d69a32eb95976f0cb6ac6a1da Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Fri, 16 Sep 2022 15:14:18 +0200 Subject: [PATCH] Work around dl(mysqli) issue with OPcache on AppVeyor As described in #8508, if OPcache is enabled, ext/mysqli can't be dl()'d; we work around that by loading the extension on startup. --- appveyor/test_task.bat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor/test_task.bat b/appveyor/test_task.bat index fb58e9bc438e6..39f0eb07c048a 100644 --- a/appveyor/test_task.bat +++ b/appveyor/test_task.bat @@ -64,6 +64,8 @@ rem set SSLEAY_CONF= rem prepare for OPcache if "%OPCACHE%" equ "1" set OPCACHE_OPTS=-d opcache.enable=1 -d opcache.enable_cli=1 -d opcache.protect_memory=1 -d opcache.jit_buffer_size=16M +rem work-around for failing to dl(mysqli) with OPcache (https://github.com/php/php-src/issues/8508) +if "%OPCACHE%" equ "1" set OPCACHE_OPTS=%OPCACHE_OPTS% -d extension=mysqli rem prepare for enchant mkdir C:\usr\local\lib\enchant-2