Skip to content

php-cli v1.4.0

Compare
Choose a tag to compare
@jingjingxyk jingjingxyk released this 30 Oct 05:37
· 515 commits to main since this release
item value
branch main
tag v1.4.0
swoole version v5.1.4
php version 8.2.25, 8.1.30,8.3.13
release date 2024-10-30

php-cli runtime

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

变更:

  1.  升级 swoole 版本 为 v5.1.4
  2.  修复 ` php -a ` 不可用
  3.  升级PHP 版本 为 8.2.25, 8.1.30,8.3.13 

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