swoole源码方式安装

系统环境

uUbuntu 20.04

PHP版本

PHP 7.4.3

下载swoole4.7.0源码包

git clone https://github.com/swoole/swoole-src.git

进入swoole包

cd swoole-src

生成configure

PHPize

编译

./configure

安装

make
sudo make install

PHP.ini添加extension=swoole.so

sudo find / -name PHP.ini
sudo vi /etc/PHP/7.4/cli/PHP.ini
extension=swoole.so

查看swoole拓展是否安装

PHP -m

相关文章

1.SW的HttpServerHttpServer的本质仍然是swoole_server,其协...
1、Swoole依赖安装hiredissudowgethttps://github.comedis/h...
直接安装会提示找不到openssl/ssl.h文件即便通过Brew安装了O...
1.安装依赖yum install -y php php-pear php-devel ht...
php
下载swoole地址:https://pan.baidu.com/s/1_N3RiFtT3iHLA5x...
昨晚我躺在床上,百无聊赖地翻阅 阿兰·德波顿《身份的焦虑...