File tree 1 file changed +3
-5
lines changed 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -877,22 +877,20 @@ function write_information(): void
877
877
$ext_dir = ini_get('extension_dir');
878
878
foreach (scandir($ext_dir) as $file) {
879
879
if (preg_match('/^(?:php_)?([_a-zA-Z0-9]+)\.(?:so|dll)$/', $file, $matches)) {
880
+ // workaround dl('mysqli') fatal error
880
881
// remove once https://github.com/php/php-src/issues/9196 is fixed
881
- // @dl() is fast (about 1 ms / dl() call)
882
- if (extension_loaded($matches[1])) {
882
+ if ($matches[1] === 'mysqli') {
883
883
continue;
884
884
}
885
885
886
- if (dl($matches[1])) {
886
+ if (@ dl($matches[1])) {
887
887
$exts[] = $matches[1];
888
- $exts[] = microtime(true) - $t;
889
888
}
890
889
}
891
890
}
892
891
echo implode(',', $exts);
893
892
PHP);
894
893
$ extensionsNames = explode (', ' , shell_exec ("$ php $ pass_options $ info_params $ no_file_cache \"$ info_file \"" ));
895
- print_r ($ extensionsNames );echo "\nxxxxxx \n\n\n" ;
896
894
$ exts_to_test = array_unique (remap_loaded_extensions_names ($ extensionsNames ));
897
895
// check for extensions that need special handling and regenerate
898
896
$ info_params_ex = [
You can’t perform that action at this time.
0 commit comments