Skip to content

php-cli v1.5.1

Choose a tag to compare

@jingjingxyk jingjingxyk released this 23 Nov 18:21
· 1035 commits to main since this release
item value
branch main
tag v1.5.1
swoole version v5.1.5
php version 8.1.30,8.2.25, 8.3.13,8.4.1
release date 2024-11-24

php-cli runtime

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

变更:

  1.   构建 PHP 8.4 启用cygwin 版本  (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