操作步骤1.先安装composer未安装可在本站搜索2.查询是否安装Swoole扩展，已安装跳过步骤3php --ri swoole 3.PHP安装Swoole扩展。具体参考php.net官网安装说明git clone https://github.com/swoole/swoole-src.git cd swoole-src phpize ./configure make && make install 4.配置php.ini扩展如：extension=your/full/path/swoole.so不记得位置可以通过命令查询php --ini 5.第3步骤成功会返回路径安装文件路径，复制对应路径/swoole.so6.Hyperf需要额外增加ini配置swoole.use_shortname = Off 7.安装Hyperfcomposer create-project hyperf/hyperf-skeleton 了解更多详细移步Hyperf官网