diff --git a/README-en.md b/README-en.md index a12d1a78..5957ac7f 100755 --- a/README-en.md +++ b/README-en.md @@ -49,7 +49,7 @@ Please first select the extension you want to compile based on the extension lis ### Direct Download -If you don't compile yourself, you can download pre-compiled artifact from Actions, or from self-hosted server: [Here](https://dl.zhamao.xin/static-php-cli/) +If you don't compile yourself, you can download pre-compiled artifact from Actions, or from self-hosted server: [Here](https://dl.static-php.dev/static-php-cli/common/) > self-hosted server contains extensions: `bcmath,bz2,calendar,ctype,curl,dom,exif,fileinfo,filter,ftp,gd,gmp,iconv,xml,mbstring,mbregex,mysqlnd,openssl,pcntl,pdo,pdo_mysql,pdo_sqlite,phar,posix,redis,session,simplexml,soap,sockets,sqlite3,tokenizer,xmlwriter,xmlreader,zlib,zip` diff --git a/README.md b/README.md index 7e41d4e3..8dc62561 100755 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Build single static PHP binary, with PHP project together, with popular extensio ### 自托管直接下载 -如果你不想自行编译,可以从本项目现有的 Action 下载 Artifact,也可以从自托管的服务器下载:[进入](https://dl.zhamao.xin/static-php-cli/) +如果你不想自行编译,可以从本项目现有的 Action 下载 Artifact,也可以从自托管的服务器下载:[进入](https://dl.static-php.dev/static-php-cli/common/) > 自托管的服务器默认包含的扩展有:`bcmath,bz2,calendar,ctype,curl,dom,exif,fileinfo,filter,ftp,gd,gmp,iconv,xml,mbstring,mbregex,mysqlnd,openssl,pcntl,pdo,pdo_mysql,pdo_sqlite,phar,posix,redis,session,simplexml,soap,sockets,sqlite3,tokenizer,xmlwriter,xmlreader,zlib,zip` diff --git a/bin/setup-runtime b/bin/setup-runtime index b02e3177..bd7144b7 100755 --- a/bin/setup-runtime +++ b/bin/setup-runtime @@ -25,7 +25,7 @@ __DIR__=$(cd "$(dirname "$0")" && pwd) __PROJECT__=$(cd "${__DIR__}"/../ && pwd) # set download dir -__PHP_RUNTIME_URL__="https://dl.zhamao.xin/static-php-cli/php-8.2.6-cli-${__OS_FIXED__}-${__ARCH__}.tar.gz" +__PHP_RUNTIME_URL__="https://dl.static-php.dev/static-php-cli/common/php-8.2.10-cli-${__OS_FIXED__}-${__ARCH__}.tar.gz" __COMPOSER_URL__="https://getcomposer.org/download/latest-stable/composer.phar" # use china mirror @@ -46,7 +46,7 @@ done case "$mirror" in china) - __PHP_RUNTIME_URL__="https://dl.zhamao.xin/static-php-cli/php-8.2.6-cli-${__OS_FIXED__}-${__ARCH__}.tar.gz" + __PHP_RUNTIME_URL__="https://dl.static-php.dev/static-php-cli/common/php-8.2.10-cli-${__OS_FIXED__}-${__ARCH__}.tar.gz" __COMPOSER_URL__="https://mirrors.aliyun.com/composer/composer.phar" ;; diff --git a/ext-support.md b/ext-support.md index 19102e5a..a7068e65 100644 --- a/ext-support.md +++ b/ext-support.md @@ -1,3 +1,3 @@ # Extension List -See: [Docs - Extensions](https://static-php-cli.zhamao.me/en/guide/extensions.html) +See: [Docs - Extensions](https://static-php.dev/en/guide/extensions.html) diff --git a/src/SPC/store/source/PhpSource.php b/src/SPC/store/source/PhpSource.php index ce7483f6..30e583a8 100644 --- a/src/SPC/store/source/PhpSource.php +++ b/src/SPC/store/source/PhpSource.php @@ -45,7 +45,6 @@ class PhpSource extends CustomSourceBase return [ 'type' => 'url', 'url' => "https://www.php.net/distributions/php-{$version}.tar.gz", - // 'url' => "https://mirrors.zhamao.xin/php/php-{$version}.tar.gz", ]; } }