Skip to content

php-cli v1.5.2

Choose a tag to compare

@jingjingxyk jingjingxyk released this 24 Nov 15:49
· 1189 commits to main since this release
item value
branch main
tag v1.5.2
swoole version v5.1.5 ,PHP 8.4 使用 v6.0.0-rc1
php version 8.1.30,8.2.25, 8.3.13,8.4.1
release date 2024-11-25

php-cli runtime

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

变更:

  1.   完善构建 PHP 8.4  (swoole 使用 v6 版本)

快速使用 包含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