diff --git a/docs/en/guide/manual-build.md b/docs/en/guide/manual-build.md index afaaaf75..e9afaa4c 100644 --- a/docs/en/guide/manual-build.md +++ b/docs/en/guide/manual-build.md @@ -243,7 +243,7 @@ Also, it is available when downloading with the `--for-extensions` option. ```bash # Specifying to download a alpha version of PHP 8.5 -bin/spc download --all -U "php-src:https://downloads.php.net/~daniels/php-8.5.0alpha1.tar.xz" +bin/spc download --all -U "php-src:https://downloads.php.net/~edorian/php-8.5.0alpha2.tar.xz" # Specifying to download an older version of the curl library bin/spc download --all -U "curl:https://curl.se/download/curl-7.88.1.tar.gz" diff --git a/docs/zh/guide/manual-build.md b/docs/zh/guide/manual-build.md index 0f7c5689..dcc9d255 100644 --- a/docs/zh/guide/manual-build.md +++ b/docs/zh/guide/manual-build.md @@ -210,7 +210,7 @@ bin/spc download --from-zip=/path/to/your/download.zip ```bash # 例如:指定下载 Alpha 版的 PHP8.5 -bin/spc download --all -U "php-src:https://downloads.php.net/~daniels/php-8.5.0alpha1.tar.xz" +bin/spc download --all -U "php-src:https://downloads.php.net/~edorian/php-8.5.0alpha2.tar.xz" # 指定下载旧版本的 curl 库 bin/spc download --all -U "curl:https://curl.se/download/curl-7.88.1.tar.gz" diff --git a/src/SPC/store/source/PhpSource.php b/src/SPC/store/source/PhpSource.php index d3e9de43..2a6ae268 100644 --- a/src/SPC/store/source/PhpSource.php +++ b/src/SPC/store/source/PhpSource.php @@ -21,7 +21,7 @@ class PhpSource extends CustomSourceBase { $major = defined('SPC_BUILD_PHP_VERSION') ? SPC_BUILD_PHP_VERSION : '8.4'; if ($major === '8.5') { - Downloader::downloadSource('php-src', ['type' => 'url', 'url' => 'https://downloads.php.net/~daniels/php-8.5.0alpha1.tar.xz'], $force); + Downloader::downloadSource('php-src', ['type' => 'url', 'url' => 'https://downloads.php.net/~edorian/php-8.5.0alpha2.tar.xz'], $force); } else { Downloader::downloadSource('php-src', self::getLatestPHPInfo($major), $force); } diff --git a/src/globals/test-extensions.php b/src/globals/test-extensions.php index 4d1f7d2a..857c66b3 100644 --- a/src/globals/test-extensions.php +++ b/src/globals/test-extensions.php @@ -16,7 +16,8 @@ $test_php_version = [ // '8.1', // '8.2', // '8.3', - '8.4', + // '8.4', + '8.5', ]; // test os (macos-13, macos-14, macos-15, ubuntu-latest, windows-latest are available) @@ -48,7 +49,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' => 'grpc', + 'Linux', 'Darwin' => 'bcmath', 'Windows' => 'curl', }; @@ -72,7 +73,7 @@ $with_libs = match (PHP_OS_FAMILY) { // You can use `common`, `bulk`, `minimal` or `none`. // note: combination is only available for *nix platform. Windows must use `none` combination $base_combination = match (PHP_OS_FAMILY) { - 'Linux', 'Darwin' => 'none', + 'Linux', 'Darwin' => 'common', 'Windows' => 'none', };