傻瓜式安装:

swoole 安装

源码安装:

swoole官网:

swoole 安装

swoole 安装

两种方式:

方式一:复制地址通过git clone克隆

swoole 安装

方式二:下载zip压缩包,然后解压

swoole 安装

 下载后的swoole文件:

 swoole 安装

没有configure目录,需要通过phpize生成

找到php目录下bin下phpize(phpize是php自带的拓展模块功能)

swoole 安装

swoole 安装

swoole 安装

configure

swoole 安装

make

swoole 安装

swoole 安装

make install

swoole 安装

swoole 安装

swoole 作为拓展安装完成

 

查看端口号:

swoole 安装

swoole 安装

查看php拓展:

swoole 安装

swoole安装完成后还需要配置php(php.ini)

swoole 安装

 

swoole测试案例存放目录:

swoole 安装

swoole 安装

相关文章:

  • 2022-12-23
  • 2021-06-08
  • 2021-06-10
  • 2021-10-30
  • 2020-10-19
  • 2022-02-09
  • 2021-05-24
  • 2021-08-03
猜你喜欢
  • 2021-05-29
  • 2022-02-11
  • 2021-11-25
相关资源
相似解决方案