zoukankan      html  css  js  c++  java
  • [Linux][PHP]安装swoole扩展

    1.下载swoole


     

    3.swoole提供了一些配置选项,当中如果要开启--enable-async-redis的话,必须安装hiredis扩展

    git clone https://github.com/antirez/hiredis.git
    make &&  make install
    ldconfig

    2.解压并配置

    /usr/local/php/bin/phpize
    ./configure --enable-swoole-debug --enable-sockets --enable-async-mysql --enable-async-redis --enable-async-httpclient  --enable-openssl --enable-coroutine --with-php-config=/usr/local/php/bin/php-config

    4.编译安装

    make
    make install

    5.编译安装成功后,修改php.ini加入extension=swoole.so

  • 相关阅读:
    10.7
    10.5
    周六
    周五
    周四
    周三
    四则运算
    zabbix——yum安装
    Stirling's Formula
    CONTRASTIVE REPRESENTATION DISTILLATION
  • 原文地址:https://www.cnblogs.com/yiyide266/p/5495593.html
Copyright © 2011-2022 走看看