swoole-cli
swoole-cli copied to clipboard
快速初始化 PHP 运行环境
curl -Lo setup-php-runtime.sh https://github.com/swoole/swoole-cli/blob/build_native_php/setup-php-runtime.sh?raw=true
sh setup-php-runtime.sh --mirror china
使用镜像
wget https://swoole-cli.jingjingxyk.com/setup-php-runtime.sh
sh setup-php-runtime.sh --mirror china
一句命令即可 为 linux 、macOS 准备 PHP 运行环境 (依赖 curl 、wget 、bash 、xz)
curl -sSf https://swoole-cli.jingjingxyk.com/setup-php-runtime.sh | bash -s -- --mirror china