摘要: 1.在项目目录中创建server文件夹用来存放swoole服务端文件 2.sever中代码 <?php use think\Container; $http = new Swoole\Http\Server('0.0.0.0', 9501); $http->set([ 'worker_num' => 阅读全文
posted @ 2022-06-23 23:09 phpwyl 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 1.进入到安装的扩展目录 cd /Applications/MAMP/bin/php/php7.3.29/include/php/ext #注意版本,可自己下载需要的版本 2.git clone https://github.com/swoole/swoole-src.git swoole 3. c 阅读全文
posted @ 2022-06-23 14:16 phpwyl 阅读(911) 评论(0) 推荐(0) 编辑