Skip to content

php-cli v1.5.0

Choose a tag to compare

@jingjingxyk jingjingxyk released this 22 Nov 15:27
· 1198 commits to main since this release
item value
branch main
tag v1.5.0
swoole version v5.1.5
php version 8.1.30,8.2.25, 8.3.13,8.4.1
release date 2024-11-22

php-cli runtime

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

变更:

  1.   升级 apcu 扩展 版本 为 5.1.24
  2.   升级 redis 扩展 版本 为 6.1.0
  3.   新增构建 PHP 8.4 版本 (swoole 使用 v6 版本 ,未启用cygwin 版本)

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

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

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

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

  # 查看扩展属性
   xattr ./php 

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