Blogger Information
Blog 65
fans 1
comment 1
visits 118981
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
centos 7.3 php7.2安装swoole
技术宅的博客
Original
1227 people have browsed it
  1. 下载安装包 

    wget https://github.com/swoole/swoole-src/archive/v2.0.6.tar.gz  #下载
    tar zxvf swoole-src-2.0.6.tar.gz  #解压
    cd swoole-src-2.0.6  #进入目录

  2. 编译安装 (使用安装 php 时生成的 phpize 来生成 configure 配置文件)

    whereis phpize  #找到路径

    /usr/local/php/bin/phpize  # 编译环境

    ./configure --with-php-config=/usr/local/php/bin/php-config

    make  &&  make install

  3. 查看安装

    php -m |grep swoole
    swoole #显示这个

  4. 使用phpinfo(); 查看扩展

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post