Skip to content

static php-cli v1.13.1

Choose a tag to compare

@jingjingxyk jingjingxyk released this 29 Dec 09:49
· 18 commits to main since this release
item value
branch main
tag v1.13.1
support extensions support extensions
build options build options
swoole version v6.1.6
php version 8.1.34,8.2.30,8.3.29,8.4.16
suport OS platform linux-x64 、linux-arm64、macos-x64、macos-arm64、windows-cygwin-x64
release date 2025-12-29
build status ok

php-cli runtime

借助于swoole-cli 的构建流程,构建包含swoole 扩展的 PHP-CLI 运行时

变更:详情

  1. swoole 版本由v6.1.4 升级到 v6.1.6
  2. php 版本 由 8.1.33, 8.2.29, 8.3.28, 8.4.15 升级为 8.1.34, 8.2.30, 8.3.29, 8.4.16

快速使用 包含swoole 的 php-cli 运行时

curl -fSL  https://github.com/swoole/build-static-php/blob/main/setup-php-cli-runtime.sh?raw=true | bash -s -- --version v1.13.0

# 指定下载版本
curl -fSL  https://github.com/swoole/build-static-php/blob/main/setup-php-cli-runtime.sh?raw=true | bash -s -- --version v1.13.0 --php-version v8.4.15

备注: macos环境下 首次运行 无权限 ,解决方法

note : macos clearing the com.apple.quarantine extended attribute

  # 查看扩展属性
   xattr ./runtime/php-cli/php

  # 去除扩展属性
  sudo xattr -rd com.apple.quarantine  ./runtime/php-cli/php

release files sha256sum (building)