mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 00:35:41 +08:00
Merge remote-tracking branch 'origin/v3' into feat/pgo-v3
This commit is contained in:
@@ -8,7 +8,7 @@ assert(function_exists('curl_exec'));
|
||||
assert(function_exists('curl_close'));
|
||||
assert(function_exists('curl_version'));
|
||||
$curl_version = curl_version();
|
||||
if (stripos($curl_version['ssl_version'], 'schannel') !== false) {
|
||||
if (stripos($curl_version['ssl_version'], 'schannel') !== false && !extension_loaded('swow')) {
|
||||
$domain_list = [
|
||||
'https://captive.apple.com/',
|
||||
'https://detectportal.firefox.com/',
|
||||
|
||||
@@ -50,7 +50,7 @@ $prefer_pre_built = false;
|
||||
|
||||
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
|
||||
$extensions = match (PHP_OS_FAMILY) {
|
||||
'Linux', 'Darwin' => 'curl,swoole',
|
||||
'Linux', 'Darwin' => 'openssl,zstd,clickhouse',
|
||||
'Windows' => 'intl',
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user