diff --git a/.github/scripts/windows/test_task.bat b/.github/scripts/windows/test_task.bat index b719d288e6688..8498519b9a5ea 100644 --- a/.github/scripts/windows/test_task.bat +++ b/.github/scripts/windows/test_task.bat @@ -84,8 +84,6 @@ 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=64M -d opcache.jit=tracing -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 %~d0\usr\local\lib\enchant-2 diff --git a/run-tests.php b/run-tests.php index 5587c6c0aeb17..0dee752d32044 100755 --- a/run-tests.php +++ b/run-tests.php @@ -867,7 +867,7 @@ function write_information(array $user_tests, $phpdbg): void $ext_dir = ini_get('extension_dir'); foreach (scandir($ext_dir) as $file) { if (preg_match('/^(?:php_)?([_a-zA-Z0-9]+)\.(?:so|dll)$/', $file, $matches)) { - if (!extension_loaded($matches[1]) && @dl($matches[1])) { + if (!extension_loaded($matches[1])) { $exts[] = $matches[1]; } }