swoole-cli icon indicating copy to clipboard operation
swoole-cli copied to clipboard

快速初始化 PHP 运行环境

Open jingjingxyk opened this issue 1 year ago • 1 comments


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

jingjingxyk avatar Jun 15 '23 07:06 jingjingxyk

一句命令即可 为 linux 、macOS 准备 PHP 运行环境 (依赖 curl 、wget 、bash 、xz)


curl  -sSf https://swoole-cli.jingjingxyk.com/setup-php-runtime.sh  | bash -s -- --mirror china

jingjingxyk avatar Jul 21 '23 10:07 jingjingxyk