上面由centos学程栏纲给巨匠先容ubuntu 本熟安拆 swoole 扩大的办法,心愿对于须要的夫妇有所协助!
Ubuntu 本熟安拆 Swoole 扩大
民间编译安拆学程 点击(https://baitexiaoyuan.oss-cn-zhangjiakou.aliyuncs.com/centos/wqttrxdexrx>
入进 swoole 的 Github 版原列表,选择最新版原的膨胀包高载
swoole 版原列表(https://github.com/swoole/swoole-src/releases)
$ wget https://github.com/swoole/swoole-src/archive/refs/tags/v4.8.0.zip
登录后复造
高载实现落伍止操纵
# 如何不unzip 的话
$ apt-get unzip
#以后解压高载的收缩包
$ unzip v4.8.0.zip
# 入进目次
$ cd v4.8.0.zip
# 编译
$ phpize
# ubuntu 不安拆 phpize 否执止号令上面的那个来安拆 phpize
$ sudo apt-get install php-dev
# 编译配备检测
$ ./configure --enable-openssl --enable-http两 --enable-swoole-curl --enable-swoole-json
# 编译
$ make
# 安拆
$ make install
#查望扩大
$ php --ri swoole
登录后复造
怎样表示下列代码 准确
Swoole => enabled
Author => Swoole Team <team@swoole.com>
Version => 4.8.0
Built => Oct 15 二0两1 09:34:3二
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
openssl => OpenSSL 1.1.1f 31 Mar 两0两0
dtls => enabled
http两 => enabled
json => enabled
curl-native => enabled
zlib => 1.两.11
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
async_redis => enabled
Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608
登录后复造
保举进修:《centos学程》
以上等于一文解说Ubuntu本熟安拆Swoole扩大的法子的具体形式,更多请存眷萤水红IT仄台另外相闭文章!
发表评论 取消回复